apply_design_system
Applies a design system to a list of screens. Use this tool when the user wants to update one or more screens to match the style of a design system. This tool applies the selected design system's foundational design tokens (colors, fonts, shapes, etc.) to the chosen screens, modifying their appea...
This record as markdown: /tools/com-googleapis-stitch-mcp/apply-design-system.md
What apply_design_system does on Mcp
AI agents use apply_design_system to create or update resources in Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
assetId | string | Yes | Required. The asset id of the design system to apply, can be fetched from 'list_design_systems'. Example: '15996705518239280238', without the `assets/` prefix. |
projectId | string | Yes | Required. The project ID of screen instances to edit, example: '4044680601076201931', without the `projects/` prefix. |
selectedScreenInstances | array | Yes | Required. The screen instances to edit, which is available in the Project info, fetched by `get_project`. |
Parameters from the server's own tool schema.
Why apply_design_system is rated Medium
This tool creates or modifies screen designs by applying design tokens (colors, fonts, shapes) to existing screens. The changes are reversible (design systems can be reapplied or changed), making it a Write operation rather than Destructive. The blast radius is medium because it affects visual design assets but does not delete data, execute arbitrary code, or trigger financial transactions.
From the tool's definition Tool description states it 'Applies a design system to a list of screens' and 'modifying their appearance to align with the design system.' The verb 'Applies' combined with 'modifying' indicates creation or modification of screen data.
Attacks that exploit this kind of access
The rule that runs apply_design_system safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For apply_design_system, this is the rule to start with:
apply_design_system stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp, apply this rule, and every apply_design_system call is checked against it from then on.
Questions about apply_design_system
Applies a design system to a list of screens. Use this tool when the user wants to update one or more screens to match the style of a design system. This tool applies the selected design system's foundational design tokens (colors, fonts, shapes, etc.) to the chosen screens, modifying their appearance to align with the design system. It is categorised as a Write tool in the Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
apply_design_system accepts 3 parameters: assetId, projectId, selectedScreenInstances. Required: assetId, projectId, selectedScreenInstances. The full parameter table on this page comes from the server's own tool schema.
Register the MCP server in PolicyLayer and add a rule for apply_design_system: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp. Nothing to install.
apply_design_system is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the apply_design_system rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for apply_design_system. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
apply_design_system is provided by the MCP server (https://stitch.googleapis.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on , and thousands of servers like it.
This server
Across the catalogue