Skip to main content
Glama
UI/UX Design MCP Server
by rpaszekdev

get_design_tokens

Retrieve design tokens for colors, spacing, typography, shadows, and more by name or category to maintain consistent UI design references.

Instructions

Retrieve design tokens for colors, spacing, typography, shadows, and more. Contains 89 tokens providing a complete design token system.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_design_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoGet a specific token by name (e.g., "primary-500")
listAllNoList all available tokens
categoryNoFilter by token category

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. "Retrieve" implies a read, and the 89-token count hints at result size, but it says nothing about what is returned when all three optional parameters are omitted, how name/listAll/category interact, or what the response shape looks like.

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 short sentences, front-loaded with the verb and resource, with no filler. The trailing "complete design token system" claim is mild marketing but does convey coverage breadth, so it mostly earns its place.

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 simple read tool with three optional, fully documented parameters and no output schema, the description is close to adequate. The one real gap is that, with zero required parameters, the agent is not told what a bare call returns, which materially affects how to invoke it.

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's category list loosely echoes the enum (it omits border-radius, breakpoint, z-index, and animation behind "and more") and adds no resolution rules for combining listAll with category or name.

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?

States a specific verb ("Retrieve") and resource ("design tokens") and enumerates the token categories covered, which makes it distinguishable from the sibling tools that return patterns, principles, or checklists. It stops short of naming or contrasting any sibling explicitly, so a 4 rather than a 5.

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 when-to-use guidance: nothing says whether this is the right tool for looking up a single value versus browsing the whole system, and no alternative is named. The agent must infer call semantics entirely from the schema.

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