Skip to main content
Glama

get_tokens

Returns design tokens for color, typography, radius, and elevation as CSS variables or JSON, plus loading instructions, so you can apply Digital Agency Design System styles.

Instructions

デザイントークン(色、文字、角丸、影)の CSS 変数または JSON と、読み込み方法を返します。

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
formatNo省略時は css
categoryNocolor, typography, radius, elevation。省略時はすべて

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of disclosure. It usefully states that the tool returns CSS variables or JSON plus 読み込み方法 (how to load them), which tells the agent the payload shape and that integration guidance is included; the read-only nature is implied by 返します, though permissions and error behavior are unstated.

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, front-loaded sentence with the resource and output formats stated first and categories in a compact parenthetical. There is no wasted framing, though it could be tightened slightly.

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-optional-parameter read getter with no output schema, the description conveys what is returned and in which formats, which is adequate for correct invocation. The main gap is routing guidance among the sibling tools, which is auxiliary rather than essential.

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 both optional parameters documented including the format enum and default css. The description restates the format options and the category list, which is consistent but adds little meaning beyond the schema; the baseline 3 applies.

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 verb (返します/returns) and resource (デザイントークン) and enumerates the token categories (色、文字、角丸、影) and output formats. This makes it clear what the tool provides, but it does not explicitly distinguish it from siblings such as get_foundation, which could also concern design-system values.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this when it needs token values or loading instructions, but there is no explicit when-to-use or when-not-to-use guidance and no mention of alternative tools (get_foundation, get_component) that might overlap.

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