Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_get_token_values

Retrieve actual design token values—such as colors and spacing—for implementation, optionally filtered by token type or name after reviewing the design system summary.

Instructions

Get actual values for design tokens (colors, spacing, etc). Use after figma_get_design_system_summary to get specific token values for implementation.

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": "figma_get_token_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoType of tokens to retrieveall
limitNoMaximum tokens to return (default: 50)
filterNoFilter token names (e.g., 'primary' to get all primary colors)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It implies a read-only lookup returning resolved values rather than references, which is useful, but says nothing about result volume, truncation by the limit parameter, or what a token entry looks like. With zero annotation coverage this is adequate but thin.

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?

Two short sentences, purpose front-loaded and the sequencing hint second. No filler, though the parenthetical '(colors, spacing, etc)' is largely redundant with the schema enum and could be dropped.

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?

A low-complexity, zero-required-parameter read tool, so the definition is close to sufficient. Because there is no output schema, the description should at least sketch the return shape (token name plus resolved value), which it does not.

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%, so the schema already documents type, limit, and filter including the enum and defaults. The description only echoes the token categories ('colors, spacing') that map to the type enum, adding no new semantics such as filter matching rules or what happens when limit is hit.

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?

States a specific verb and resource: 'Get actual values for design tokens (colors, spacing, etc).' The word 'actual' hints at resolved values versus a summary, which is meaningful. It does not, however, distinguish itself from similarly named siblings such as figma_get_variables or figma_get_styles, so the agent must infer the boundary.

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?

Gives an explicit sequencing rule: 'Use after figma_get_design_system_summary to get specific token values for implementation.' That is clear when-to-use guidance tied to a named sibling. It stops short of saying when NOT to use it or naming any other alternative.

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

Deploy Server

Other Tools