Skip to main content
Glama

get_design_system

Read-only

Retrieve design tokens from a design system by ID, including colors, typography, spacing, and more. Supports W3C DTCG, CSS, or flat format.

Instructions

Get design tokens for a specific design system. Returns colors, typography, spacing, radii, elevation, and motion tokens in W3C DTCG, CSS custom properties, or flat format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDesign system ID (e.g. 'stripe', 'linear')
groupNoFilter to a token group: color, color-dark, color-light, typography, spacing, radius, elevation, motion
formatNoOutput format: dtcg (W3C standard), css (custom properties), flat (key-value). Default: dtcg
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is clear. The description adds that tokens are returned in specific formats, but does not disclose error behavior (e.g., invalid ID) or any rate limits. Adequate but not rich.

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 sentences: first states the core action, second expands on return types. No unnecessary words. Front-loaded with the most critical information. Efficient and well-structured.

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

Completeness4/5

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

Given no output schema, the description should explain the return structure. It lists token categories but does not specify the response format (e.g., JSON object structure). However, the detail about formats partially compensates, making the tool usable for an agent. Slightly incomplete but mostly adequate.

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 coverage is 100%, so the baseline is 3. The description adds minimal new meaning beyond the schema, grouping the token categories and noting the default format ('dtcg'). This is helpful but does not significantly surpass what the schema already provides.

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

Purpose5/5

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

The description clearly states the verb 'Get' and the resource 'design tokens for a specific design system'. It lists the specific categories of tokens returned and the available output formats, making the tool's purpose highly specific and distinguishable from siblings.

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?

No guidance on when to use this tool versus alternatives. Siblings include list_design_systems (for listing systems) and other get tools, but the description does not help the agent decide. No mention of prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhinocap/raven-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server