Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_find_replace_text

figma_find_replace_text

Search and replace text across a Figma node or the current page, with optional regular expression matching, to update copy across multiple layers at once.

Instructions

Find and replace text under a node or current page.

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": {
      "find": "<find>"
    },
    "name": "figma_find_replace_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
findYes
regexNo
nodeIdNo
replaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.7/5.0
Behavior2/5

Does 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 discloses almost nothing: it doesn't say the operation is destructive/irreversible, whether every match is replaced or only the first, whether matching is case-sensitive, or how regex interacts with the find string. The one useful disclosure is the scope defaulting to the current page when no node is given.

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?

A single front-loaded sentence with no filler or redundancy; the scope qualifier is placed where it is immediately useful. Its brevity is efficient rather than padded, though the terseness contributes to the other gaps.

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?

For a four-parameter, unannotated text-mutation tool with no output schema and zero schema coverage, the description is far too thin—an agent cannot predict the effect on existing text, the meaning of regex, or what gets returned. Only the node-vs-page scoping is adequately covered.

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 0% across four parameters, so the description must compensate and largely doesn't. "Find and replace" implies the find and replace strings and "under a node" hints at nodeId, but the regex boolean is never explained and no format or matching semantics are given for any parameter.

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 pair and resource ("Find and replace text") plus the search scope ("under a node or current page"), so an agent can tell it mutates text in a given subtree or page rather than creating or scanning text like its siblings. It stops short of naming how it differs from figma_set_text or figma_scan_text_nodes, so it stays a 4.

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?

The only usage signal is the implicit choice between scoping to a node or defaulting to the current page; there is no statement of when to prefer this over figma_set_text or figma_scan_text_nodes, no prerequisites, and no note on whether all matches are replaced or one.

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