Skip to main content
Glama

Stash

Get design tokens

get_tokens
Read-only

A site's measured design tokens in the W3C Design Tokens format (2025.10).

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": {
      "site": "<site>"
    },
    "name": "get_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site's slug or theme name from search_sites, e.g. "linear-app".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 the safety profile is covered by structured data. The description contributes the output format and spec version, which is genuinely useful for interpreting results. It says nothing about token categories, volume, or whether the payload is large, so it adds some but not rich behavioral context.

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?

It is a single short, front-loaded clause with zero filler. The only mark against it is that the terseness comes at the cost of a verb and any operational detail, making it a fragment rather than a complete statement.

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?

With one well-documented parameter and read-only annotations, the call mechanics are clear enough. However, there is no output schema, so the description is the only place an agent could learn what the returned token set looks like or how large it is, and it does not say. Adequate but with a real gap.

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?

There is a single required parameter with 100% schema description coverage, and the schema already explains that it accepts a slug or theme name from search_sites. The description adds no meaning beyond that. Baseline 3 applies when the schema carries the full parameter burden.

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

Purpose3/5

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

The description names the resource (a site's measured design tokens) and the serialization format (W3C Design Tokens 2025.10), which helps an agent understand what comes back. But it is a noun phrase with no verb, and it never distinguishes itself from siblings like get_theme, get_design_md, or get_motion that plausibly return overlapping styling data. Purpose is inferable rather than stated.

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, no condition that selects this tool over get_theme or get_design_md, and no prerequisite beyond the required site parameter. The word 'measured' faintly hints at extracted rather than authored tokens, but that distinction is never made explicit.

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