Skip to main content
Glama
Stitch MCP Server

Stitch MCP Server

Update Design System

stitch_update_design_system

Modify an existing design system's theme, tokens, and style guidelines to keep UI designs consistent across Stitch projects.

Instructions

Update an existing design system's theme, tokens, or style guidelines.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "designSystemId": "<designSystemId>"
    },
    "name": "stitch_update_design_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoUpdated design theme
projectIdYesStitch project ID
displayNameNoUpdated display name
designTokensNoUpdated design tokens
designSystemIdYesDesign system asset ID
styleGuidelinesNoUpdated style guidelines

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation profile is known. The description adds nothing beyond that — it does not say whether omitted fields are preserved or reset, whether the non-idempotent behavior means repeat calls compound changes, or what authorization is required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity reflects missing information rather than disciplined compression.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, a nested theme object containing enums for font, colorMode, and roundness, and no output schema, this tool needs more context about partial-update behavior and what the response contains. The description leaves the agent without guidance on whether unspecified theme sub-fields are overwritten or left intact.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented in the input schema. The description only echoes field names at a high level and adds no syntax, format, or partial-update semantics beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (update) and resource (an existing design system) and enumerates the three mutable surfaces: theme, tokens, style guidelines. It does not, however, distinguish itself from stitch_create_design_system or stitch_apply_design_system beyond the word 'existing'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to choose this tool versus stitch_apply_design_system or stitch_create_design_system, and no stated prerequisites other than the implied 'existing'. The agent must infer usage from the name and sibling names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.