Skip to main content
Glama
Stitch MCP Server

Stitch MCP Server

Create Design System

stitch_create_design_system

Creates a Stitch project design system by defining visual themes, style guidelines, and design tokens that keep branding consistent across generated UI.

Instructions

Create a new design system for a Stitch project. Defines visual theme, style guidelines, and design tokens for consistent branding.

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>"
    },
    "name": "stitch_create_design_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoDesign theme configuration
projectIdYesStitch project ID
displayNameNoDisplay name for the design system
designTokensNoDesign tokens as a string
styleGuidelinesNoStyle guidelines as a string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the safety profile is covered. The description adds what the tool populates but says nothing beyond that — e.g., whether calling it twice creates duplicates (non-idempotent per annotations), or what happens if the project already has a design system. With annotations carrying the bulk, this is an adequate but thin layer of extra context.

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?

Two sentences, no filler, with the core action front-loaded and the secondary sentence scoping what gets defined. Efficient, though the second sentence is largely a restatement of the schema fields rather than new information.

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

Completeness3/5

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

For a creation tool with a nested theme object, 28-value font enums, and no output schema, the description is thin on consequences: it doesn't say what is returned (e.g., a design system ID needed for stitch_apply_design_system) or how failures behave. The schema covers parameter structure well, but the description leaves return-value and follow-up-path gaps for a non-idempotent create operation.

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 the baseline is 3. The description echoes three of the five parameters (theme, styleGuidelines, designTokens) and omits projectId and displayName, adding no format or constraint detail — notably nothing about how designTokens/styleGuidelines strings should be structured, despite the nested theme object with many enums.

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 opens with a specific verb and resource ("Create a new design system for a Stitch project") and enumerates the artifacts it defines: visual theme, style guidelines, and design tokens. An agent can tell this is a creation tool rather than a read or mutation of an existing system. It stops short of naming the sibling (stitch_update_design_system, stitch_apply_design_system) that handles the adjacent cases.

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

Usage Guidelines3/5

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

Usage is only implied by the verb "Create" — an agent can infer this is for instantiating a new design system rather than modifying one. There is no explicit when-to-use vs. stitch_update_design_system or stitch_apply_design_system, and no note on prerequisites such as the project needing to exist.

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