Skip to main content
Glama

Get design tokens

get_tokens
Read-only

Design tokens as CSS variables (light and dark), Tailwind v4 theme variables, or DTCG JSON: the default M3 Expressive preset (m3-expressive) or a package's (moga/brand-kit).

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_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNom3-expressive (default) or a package
formatNoDefault css.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description still adds real behavioral value by disclosing what the response contains (CSS custom properties with light and dark variants, Tailwind v4 theme variables, DTCG JSON) and what happens with no arguments (default preset). It says nothing about output volume or whether a missing package errors, keeping it below 5.

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?

A single compact sentence with the output formats front-loaded and the input choices trailing, so nothing is buried. It is telegraphic (a noun phrase with no main verb) and the parenthetical stacking makes it slightly dense, but no sentence is wasted.

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 two-parameter, zero-required read tool with no output schema, the description covers the essential decisions: which source preset/package and which output format, plus the default. Given no output schema exists, it could say a bit more about what a returned token set looks like, but it is adequate for this complexity.

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 schema already documents both parameters, which sets the baseline at 3. The description does add meaning by mapping each enum value to a concrete artifact ('css' to CSS variables in light and dark, 'tailwind' to Tailwind v4 theme variables, 'json' to DTCG JSON) and by giving a package-path example format for '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?

The description names the concrete resource (design tokens) and enumerates the exact output artifacts: CSS variables in light and dark, Tailwind v4 theme variables, or DTCG JSON. It also names the source options (the m3-expressive default or a package such as moga/brand-kit). It does not explicitly contrast itself with get_component or read_spec, so it falls short of 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 statement of when to call this instead of read_spec or get_component, and no prerequisites or exclusions. The only usage-adjacent signal is the implicit default (m3-expressive) when no name is supplied, which is inference rather than guidance.

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.