Skip to main content
Glama

rest_get_variables

Retrieve Figma variables and token collections (color palettes, spacing, modes) from a file key via REST API to access design tokens.

Instructions

Read Figma Enterprise / Organization Variables and token collections (color palettes, spacing, modes) via REST API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileKeyYesFigma file key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly signals a read operation, but omits enterprise-plan requirements, authentication needs, output shape, and potential failure modes, which are important for a scoped API like this.

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 a single compact sentence with no filler. The verb and resource are front-loaded, making it easy for an agent to quickly understand the tool's purpose.

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?

For a one-parameter tool the description is close to adequate, but it does not mention when to use it rather than get_document_tokens, nor does it disclose the enterprise-only limitation or expected return data. An agent could select the wrong sibling or invoke this on an ineligible file.

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% for the single fileKey parameter, so the schema already documents the only input. The description adds no additional meaning to the parameter beyond what the schema provides.

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 uses a specific verb ('Read') and identifies the resource ('Figma Enterprise / Organization Variables and token collections') with helpful examples like color palettes, spacing, and modes. It is clear, though it does not explicitly distinguish itself from siblings such as get_document_tokens or rest_get_file.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus the sibling get_document_tokens or other REST getters. The 'Enterprise / Organization' phrasing hints at a scope restriction but does not state conditions, prerequisites, or alternatives.

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