rename_node
Rename a Figma node by nodeId and the new name to update its label in the design file.
Instructions
Renames a node by nodeId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| nodeId | Yes |
Rename a Figma node by nodeId and the new name to update its label in the design file.
Renames a node by nodeId.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| nodeId | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it does almost nothing with it. It does not state whether the rename is reversible/undoable, whether it requires permissions, whether names must be unique, or what is returned. For a mutation tool with zero annotation coverage, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no wasted words. Its terseness is appropriate structurally, though the brevity is partly what causes the informational gaps elsewhere.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage, the description is too thin. An agent knows the basic intent but lacks permissions, side effects, and parameter semantics needed to call it confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. 'By nodeId' clarifies that nodeId is the target selector, but the 'name' parameter (the new name) is only implied by the word 'Renames' and no format, length, or uniqueness semantics are given for either parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Renames) and resource (node) and identifies the selector (by nodeId). It is clear what the tool does, but it does not differentiate itself from siblings such as bulk_rename, rename_page, or rename_variable beyond the bare noun 'node'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus alternatives like bulk_rename or rename_page, and no preconditions (e.g., node must exist, name constraints). The agent is left to infer usage entirely from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.