Skip to main content
Glama
Blyawon

tokensStudioMCP

by Blyawon

suggest_tokens

Analyzes a Figma node and its context to suggest ranked design tokens from the catalog, helping tokenize elements when naming conventions are unclear.

Instructions

Suggest tokens from the loaded catalog that fit a Figma node, ranked. Reads the node + nearby context (name, type, parent variant axes, tokens already applied to siblings) and scores every catalog token of compatible type. Returns the top N with reasoning per candidate. Use this when the design system's naming convention isn't obvious or when the user just says 'tokenize this' without spelling out paths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNo
urlNo
nodeIdNo
fileKeyNo
propertyKeyNo
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explains the tool reads context, scores tokens, and returns top N with reasoning. It implies a read-only operation, though it lacks explicit mention of side effects or safety, which is acceptable given the nature.

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 two sentences, each earned: first states the core function, second provides usage guidance. It is front-loaded with the main action and contains zero redundant or vague language.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (5 parameters, no output schema), the description is incomplete. It omits details about parameter usage and return value structure. The tool likely needs parameter context for correct invocation, which is missing.

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

Parameters1/5

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

Schema coverage is 0% meaning no parameter descriptions. The description does not explain any of the five parameters (max, url, nodeId, fileKey, propertyKey). The tool requires understanding these fields, and the description provides no help, failing to compensate for the lacking 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 uses a specific verb ('Suggest'), identifies the resource ('tokens from the loaded catalog'), and specifies the context ('that fit a Figma node, ranked'). It clearly distinguishes from sibling tools like 'debug_resolve_token' by emphasizing ranking and reasoning.

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 description explicitly states when to use this tool: when naming convention isn't obvious or when user says 'tokenize this'. This provides clear contextual guidance, though it does not discuss when not to use it or mention alternatives.

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