Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_rename_mode

Rename an existing mode in a Figma variable collection to organize themes or breakpoints. Requires the Canvas Bridge plugin to be running.

Instructions

Rename an existing mode in a Figma variable collection. Requires the Canvas Bridge plugin to be running.

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": {
      "collectionId": "<collectionId>",
      "modeId": "<modeId>",
      "newName": "<newName>"
    },
    "name": "figma_rename_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeIdYesThe mode ID to rename (e.g., '123:0'). Get this from the collection's modes array in figma_get_variables.
newNameYesThe new name for the mode (e.g., 'Dark Theme', 'Tablet').
collectionIdYesThe collection ID containing the mode (e.g., 'VariableCollectionId:123:456'). Get this from figma_get_variables.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

B3.2/5.0
Behavior2/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 mentions the plugin prerequisite, which is useful, but never says whether the rename is reversible, how mode-name collisions are handled, or what happens to variables bound to the mode.

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, front-loaded with the action and then the operational prerequisite. Nothing is wasted, though the brevity leaves it thin on behavioral detail.

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?

For a simple three-parameter mutation with full schema coverage and no output schema, the essentials are present. It still omits what a caller needs to know about failure modes and the effect of the rename on existing variable bindings.

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 coverage is 100% and each parameter already carries an example plus a pointer to figma_get_variables for the IDs. The description adds no meaning beyond the schema, which is the expected baseline when structured fields do the work.

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 states a specific verb and resource: rename an existing mode in a Figma variable collection. That distinguishes it from figma_add_mode and figma_rename_variable without opening either schema, though it never names those siblings explicitly.

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 gives one real precondition, that the Canvas Bridge plugin must be running, and scopes the operation to existing modes in a variable collection. It offers no when-not guidance or alternatives, and an agent could confuse this with figma_rename_variable on a variable name.

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