Skip to main content
Glama

Rename node

figma_rename_node
Idempotent

Rename a single Figma node and return its previous name, enabling accurate change reports. Use it when a layer, frame, or component needs a new label.

Instructions

Rename one node. The previous name is returned, so a rename can be reported as a change rather than an assertion. Editors: Design; unverified: FigJam, Slides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
nodeIdYes
sessionNoOptional sessionId or file name, to pick a Figma file when more than one is connected.
idempotencyKeyNoCaller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

The description discloses that the previous name is returned, which adds value beyond the annotations. Annotations already indicate idempotentHint=true and destructiveHint=false, so the idempotency isn't novel, but the return behavior is not documented in the schema. The editor support note also adds behavioral context.

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 core action, and includes only essential contextual details. No wasted words.

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?

For a single-node rename tool with no output schema and partial schema coverage, the description covers the key behavior (return of previous name) and editor compatibility. It does not explain what happens if the node doesn't exist or if the name is invalid, but those are minor gaps. Overall, it provides sufficient context for an agent to invoke 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 coverage is 50%, meaning two parameters (session and idempotencyKey) have descriptions in the schema. The description does not add further meaning to any parameters. The baseline for 50% coverage is around 3, and no extra parameter details are provided beyond what's already in the schema.

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 clearly states 'Rename one node' – a specific verb and resource. It also distinguishes the single-node scope from the sibling figma_batch_rename_nodes by saying 'Rename one node', though it doesn't explicitly name the sibling. The editor compatibility note adds helpful context.

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?

There is no explicit guidance on when to use this tool versus figma_batch_rename_nodes. The mention of 'Rename one node' implies it's for single-node renaming, but no conditions or alternatives are spelled out. The editor compatibility note ('Editors: Design; unverified: FigJam, Slides') is useful but not usage guidance.

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