Skip to main content
Glama
neozhehan

Figma Edit MCP

by neozhehan

Manage Variables

variable_manage

Manage Figma design variables: create collections and variables, set values or aliases, and update existing variables by name and mode.

Instructions

Create collections and variables and set their values/aliases (create/update router). UPDATE_VARIABLE requires currentVariableName. CREATE_VARIABLE requires collectionName and scopes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for collection/variable creation or variable update. Must be non-empty when supplied. It is required for CREATE_COLLECTION and CREATE_VARIABLE; omit it only on UPDATE_VARIABLE to leave the current name unchanged.
typeNoVariable type (for CREATE_VARIABLE)
valueNoValue for the variable (or alias) (for CREATE or UPDATE)
actionYesAction type
modeIdNoMode ID (for UPDATE_VARIABLE value setting)
scopesNoREQUIRED for CREATE_VARIABLE — variable scopes. ALWAYS set explicitly on create; omit on update to leave unchanged.
modeNameNoOptional initial mode name for CREATE_COLLECTION. Must be non-empty when supplied; omit it to keep the collection's native default mode name.
variableIdNoVariable ID (for UPDATE_VARIABLE)
descriptionNoDescription (for UPDATE_VARIABLE)
collectionIdNoCollection ID (for CREATE_VARIABLE)
collectionNameNoREQUIRED for CREATE_VARIABLE — the parent collection's exact name, passed back verbatim from `variable_list`
currentVariableNameNoREQUIRED for UPDATE_VARIABLE — the variable's **current exact** name, passed back verbatim from `variable_list`

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID of the collection or variable
nameNoName of the collection or variable
errorNo
Behavior3/5

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

With only openWorldHint annotation, the description carries a moderate transparency burden. It discloses action-specific required parameters, which is useful, but it does not mention side effects, error behavior, or whether updates overwrite existing values. The schema and output schema cover some detail, so this is adequate but not rich.

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 that front-load the core purpose and then add key constraints. There is no redundancy or filler; every sentence earns its place.

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?

Given the tool's complexity (12 parameters, 3 actions, union value types), the description plus the detailed schema creates a fairly complete picture. The existence of an output schema covers return values. A minor gap is the lack of workflow guidance (e.g., how to use variable_list results here), but the description is sufficient for an agent to act.

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 tool description restates requirements already present in the schema (e.g., currentVariableName for UPDATE_VARIABLE), adding no new semantic depth. The schema itself thoroughly documents each parameter, so the description does not need to compensate.

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 identifies the tool as a create/update router for collections and variables, with the specific verbs 'Create' and 'set their values/aliases.' This distinguishes it from sibling tools like variable_list (listing) and variable_delete (deletion), making its purpose unambiguous.

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 gives explicit parameter requirements for two actions (UPDATE_VARIABLE requires currentVariableName; CREATE_VARIABLE requires collectionName and scopes), which helps the agent know what inputs are needed. It does not explicitly state when to avoid this tool or name alternatives, but the 'create/update router' framing implies its role among siblings.

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