Skip to main content
Glama
neozhehan

Figma Edit MCP

by neozhehan

List Variables

variable_list
Read-only

List local Figma variables and collections, retrieve details for specific variable IDs, and optionally scan pages or documents for consumer usage, isolating page failures.

Instructions

List local variables/collections, or detailed info for specific variable ids; optionally scan for consumers. Document consumer scans isolate page failures and report them in coverage; page-scoped failures return their structured error directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdNoThe page ID to scan for consumers when includeConsumers is 'page'.
variableIdNoOptional array of variable IDs to retrieve detailed information for. If omitted, lists all local variables.
includeConsumersNoOnly used when variableId is provided; ignored otherwise. 'page' scans a specific page, requiring pageId. 'document' scans all pages (streams progress page-by-page).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
coverageNoPage-scan coverage; partial read data remains usable when complete is false
variablesNoList of variables — present in both list-all and lookup modes (each may carry nodeConsumers/styleConsumers/aliasConsumers when includeConsumers is set)
missingIdsNoRequested variable IDs that did not resolve (lookup mode only; omitted when none)
collectionsNoList of variable collections (list-all mode only)
Behavior4/5

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

With readOnlyHint=true already declared, the description adds valuable behavioral context by explaining how document and page consumer scans handle failures differently. This goes beyond the annotation by disclosing error-reporting behavior, which is useful for selecting the right mode.

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, front-loaded with the main purpose and followed by a concise explanation of consumer scan behavior. Every sentence earns its place with no redundancy or filler.

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?

The tool is a read-only listing operation with an output schema and good annotations. The description covers the primary use cases (list all, detailed info, consumer scans) and error-handling nuances. Minor ambiguity around 'local' scope and the `coverage` field exists, but overall it is complete enough for an agent to use correctly.

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 baseline is 3. The description reinforces parameter behavior (e.g., variableId optional, includeConsumers modes) but does not significantly add beyond the schema. The failure-reporting detail is behavioral output context rather than parameter semantics.

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 clearly states the tool's function: 'List local variables/collections, or detailed info for specific variable ids; optionally scan for consumers.' This uses a specific verb (list) and resource (variables/collections), and distinguishes it from sibling mutation tools like variable_manage and variable_delete.

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 provides context for using the consumer scan modes: document scans isolate page failures and report them in `coverage`, while page-scoped failures return structured errors directly. It implies this is for read-only inspection versus alternatives like variable_manage, though it does not explicitly state exclusions.

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/neozhehan/figma-edit-mcp'

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