Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_batch_rename_nodes

figma_batch_rename_nodes

Batch rename multiple Figma nodes at once using regex patterns, prefixes, suffixes, and sequential numbering to standardize layer names quickly.

Instructions

Batch rename nodes using regex/prefix/suffix/numbering.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_batch_rename_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
regexNo
startNo
nodeIdNoFigma node ID. Colon or URL hyphen format accepted.
prefixNo
suffixNo
nodeIdsNoFigma node IDs. Colon or URL hyphen format accepted.
patternNo
numberedNo
screenKeyNo
replacementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.5/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 behavioral burden and discloses nothing about mutation effects, irreversibility of renames, required permissions, or how the four modes interact. It does not even state that the change is applied to the live document.

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?

A single short, front-loaded sentence with no wasted words. However, the brevity reflects under-specification rather than efficient packing of information.

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

Completeness1/5

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

A 10-parameter, zero-required mutation tool with no annotations, no output schema, and a one-line description leaves critical gaps: which parameters are needed for each mode, whether nodeIds is mutually exclusive with nodeId, and what the result contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% (nodeId and nodeIds only), and 10 parameters exist. The description only loosely hints at pattern/replacement (regex), numbered/start (numbering), and prefix/suffix; screenKey and the mode-selection logic are undocumented anywhere.

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?

States a specific verb and resource ('Batch rename nodes') plus the four supported renaming strategies (regex/prefix/suffix/numbering). The word 'batch' implicitly separates it from figma_rename_node, though no sibling is named explicitly.

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?

No when-to-use or when-not-to-use guidance, and no reference to figma_rename_node as the single-node alternative. An agent must infer from the adjective 'batch' alone that this is for multiple nodes.

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