Skip to main content
Glama

Preview a Design System

preview-design-system
Read-onlyIdempotent

Returns a catalog theme summary and links to component specimens and tokens for a design system ID; does not provide screenshots or visual approval.

Instructions

Return a catalog theme summary and links to its component specimen/tokens. No screenshot or visual approval is implied.

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": {
      "designSystemId": "<designSystemId>"
    },
    "name": "preview-design-system"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNo
designSystemIdYes

Output Schema

NameRequiredDescriptionDefault
nameYes
stepNo
statusYes
shotUrlNo
viewUrlNo
tokensCssYes
viewLabelNo
previewUrlNo
installNoteNo
installedToNo
localInstallNo
installCommandNo
installLibraryNo
familyPreviewUrlNo
newProjectCommandNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds one genuinely useful behavioral clarification, that this does not constitute visual approval or a screenshot, which prevents a plausible misuse; it says nothing about pagination, failure modes, or what the returned links resolve to.

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

Conciseness5/5

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

Two short sentences with no filler; the positive contract (summary + links) is front-loaded and the negative clarification follows immediately.

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?

An output schema exists, so return-value shape need not be explained. However, for a tool whose two parameters are entirely undocumented in both schema and description, the definition should at minimum identify what designSystemId refers to and where to obtain it.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters, and the description does not compensate at all: neither designSystemId (required, minLength 1) nor context (280-char string) is mentioned or explained. The agent cannot tell from the definition whether designSystemId is a slug, UUID, or catalog path, nor what 'context' is meant to influence.

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 gives a specific verb and resource ("Return a catalog theme summary and links to its component specimen/tokens") and explicitly disclaims the visual meaning the name "preview" would otherwise suggest. It does not distinguish itself from plausible siblings such as get-design-system-kit or get-design-system-status, so the agent still has to guess at the boundary.

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?

When to use is only implied by the output description: an agent needing a theme summary plus specimen/token links. The single exclusion ("No screenshot or visual approval is implied") is a useful usage constraint, but no alternative tools or prerequisites are named.

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