Skip to main content
Glama
Blyawon

tokensStudioMCP

by Blyawon

list_tokens

Lists unique Tokens Studio tokens used in a Figma subtree, grouped by property with layer names and a style-gap report. Use this pre-flight to decide if you need the full token tree.

Instructions

START HERE for any question about which design tokens a Figma frame uses. Cheap pre-flight: returns the unique Tokens Studio tokens applied anywhere in a subtree, grouped by property (fill, spacing, typography, …), with the layer names that use each value and a style-gap report at the bottom. Much smaller than get_metadata_with_tokens — call this first to decide whether you actually need the full tree. If the subtree relies on composition tokens the response surfaces a one-line hint so you don't get silent empty output; pass includeComposition=true to include them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
depthNo
nodeIdNo
fileKeyNo
withVectorsNo
withComponentsNo
includeCompositionNo
Behavior4/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It describes the tool as a 'Cheap pre-flight' that returns grouped tokens with layer names and a style-gap report, and notes special behavior for composition tokens (surface hint, need includeComposition). It does not explicitly state it is read-only or mention permissions, but the read-like nature is implied.

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?

The description is front-loaded with a clear purpose statement, then concisely covers key points: pre-flight nature, comparison to sibling, and composition token caveat. Every sentence earns its place without redundancy.

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?

Given the absence of an output schema, the description does a good job describing the return format (grouped tokens, layer names, style-gap report). However, with 7 parameters and no explanations for most, completeness is lacking. The overall context is adequate but not thorough for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 7 parameters with 0% documentation. The description only explains includeComposition (via a hint about composition tokens) and implicitly refers to url/fileKey/nodeId as identifying a subtree. The other parameters (depth, withVectors, withComponents) are not described at all, so the description adds minimal semantic value beyond the schema.

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

Purpose5/5

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

The description starts with 'START HERE for any question about which design tokens a Figma frame uses,' clearly stating the verb (list/return) and resource (design tokens from a Figma frame). It distinguishes itself from the sibling tool get_metadata_with_tokens by noting it is 'Much smaller' and should be called first.

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

Usage Guidelines5/5

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

Explicitly says 'call this first to decide whether you actually need the full tree' and warns about composition tokens, guiding when to use this tool versus alternatives. It provides clear context for usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Blyawon/tokensStudioMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server