Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

rename_node

Change a Figma node's name by supplying its node ID and the new name. Use it to keep layers, frames, or components clearly labeled for editing and handoff.

Instructions

Rename a node

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": {
      "nodeId": "<nodeId>",
      "name": "<name>"
    },
    "name": "rename_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name for the node
nodeIdYesThe ID of the node to rename

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.3/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 of behavioral disclosure, but it only implies mutation. It doesn't state whether the name must be unique, whether renaming is idempotent, what happens on a missing nodeId, or whether edit permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words are front-loaded and waste nothing, but the brevity here reflects under-specification rather than disciplined conciseness. There is no structure beyond a single fragment.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (two required scalar parameters, no nesting), and the schema covers both parameters, but with zero annotations and no output schema the description should disclose mutation semantics, error behavior, and safety profile. None of that is present.

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% – both nodeId and name are documented in the schema itself. The description adds no additional meaning such as name-length limits or format rules, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Rename a node' merely restates the tool name rename_node with no elaboration. It doesn't clarify scope (single node vs. any array of nodes), constraints on the new name, or how it differs from a broader mutator like set_node_properties.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no mention of alternatives. An agent cannot tell from this text whether renaming should be done here or through set_node_properties, nor whether prerequisites (e.g., an editable page) apply.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.