Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

List variables (design tokens)

figma_get_variables
Read-onlyIdempotent

Retrieve Figma variable collections, modes, and per-mode values, including named aliases, from a Figma link. Use it to inspect design tokens without Dev Mode or a paid seat.

Instructions

Lists variable collections, modes (e.g. Light/Dark) and every variable's value per mode, with aliases shown by name. Works on any plan through the web source or the plugin; the REST source needs Enterprise.

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": {
      "url": "<url>"
    },
    "name": "figma_get_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFigma link, e.g. https://www.figma.com/design/<fileKey>/<name>?node-id=12-345 (right-click a layer > Copy link to selection). A bare file key also works.
formatNoyaml (default, ~30% fewer tokens) or jsonyaml
sourceNoWhere to read from. auto (default): Figma's viewer protocol (no token, no Dev Mode), then the REST API if FIGMA_TOKEN is set, then the plugin. web/rest/plugin force one.auto
collectionNoOnly this collection (name substring)
name_containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context: aliases are resolved to names rather than raw IDs, and there is a plan-tier constraint on the REST source that an agent must know before invoking. It does not describe fallback failure behavior when no source is available.

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?

Two sentences with no filler: the first defines the output surface, the second defines the access constraints. The most decision-relevant information (what you get, what plan you need) is front-loaded.

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?

With no output schema, the description must sketch the return shape, and it does: collections, modes, per-mode values, alias names. Plan constraints are covered. Minor gaps remain around pagination or large-file behavior, but for a read-only listing tool this is close to complete.

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

Parameters4/5

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

Schema coverage is 80%, so the schema already documents url, format, source, and collection well. The description still adds meaning the schema lacks: that the REST source requires Enterprise, which materially affects how the source parameter should be set. It says nothing extra about format or name_contains, but the schema carries those.

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 ("Lists") and precise resources: variable collections, modes, per-mode variable values, and alias names. That is far more than a restatement of the title and lets an agent distinguish it from read tools like figma_get_styles or figma_get_design, though it never explicitly says how it differs from figma_export_tokens.

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?

It supplies real usage context in the form of plan/source constraints ("works on any plan through web or plugin; REST needs Enterprise"), which tells an agent when the tool is viable. It stops short of saying when to choose this over sibling tools such as figma_export_tokens or figma_bind_tokens, so guidance is implied rather than explicit.

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