Skip to main content
Glama

Get design tokens

get_design_tokens
Read-only

Brand Kit tokens with the CSS variable to use for each. Never hard-code colours, spacing, radius or fonts; use these variables.

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
categoryNoWhich tokens to returnall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and locality are covered. The description adds useful context that each token carries its CSS variable mapping, but says nothing about return shape, ordering, or whether the full token set is always returned. With annotations carrying the safety profile, this is 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 short sentences, zero filler: the first defines what is returned, the second states the rule for using it. The most important constraint is front-loaded and there is nothing to trim.

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?

For a one-parameter, read-only lookup with full schema coverage, the description covers what the tool returns and how to apply it. The absence of an output schema is mitigated by the mention of CSS variable mappings, though a sentence on result format or token set size would have made it complete.

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% with a single enum-constrained 'category' parameter defaulting to 'all', so the schema fully documents the input. The description adds no extra meaning about the categories or what 'all' returns, which is the correct baseline-3 case where the schema does the work.

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 resource (Brand Kit design tokens) and states the key payload detail — each token comes with its CSS variable. It is clearly a retrieval tool and distinguishable from siblings like get_component_docs or get_guidelines, though it never uses an explicit retrieval verb and leaves 'get' implicit in the name/title.

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

Usage Guidelines4/5

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

The second sentence gives a strong, actionable usage rule: never hard-code colours, spacing, radius or fonts, always use these variables. That tells an agent when this tool is mandatory during styling work. It stops short of naming alternatives or stating exclusions (e.g., when get_guidelines is the better source).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources