Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_scan_text_nodes

figma_scan_text_nodes

Scan and collect text nodes within a specific node, screen, current page, or entire document to find and inspect all copy in a Figma file.

Instructions

Scan text nodes under a node, screen, the current page, or the whole document.

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_scan_text_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
scopeNoWithout nodeId: "page" (default) searches the current page, "document" loads and searches every page.
nodeIdNoFigma node ID. Colon or URL hyphen format accepted.
nodeIdsNoFigma node IDs. Colon or URL hyphen format accepted.
screenKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/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 it discloses little beyond what "scan" implies. It does not state that the operation is read-only, does not describe return shape or ordering, does not explain the limit parameter's effect, and does not warn that document scope loads every page (a cost/performance trait the schema only partially hints at).

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, so it is appropriately sized. It is compact to the point that the target modes are listed as bare nouns rather than mapped to parameters, which slightly reduces clarity relative to length.

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 5-parameter traversal tool with no annotations and no output schema, the description is thin: it leaves the limit semantics, result content, ordering, and and truncation behavior entirely unexplained, so an agent cannot anticipate what a scan returns or how to page through large documents.

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 60%, and the description adds a conceptual mapping: "under a node" -> nodeId/nodeIds, "screen" -> screenKey, "current page"/"whole document" -> scope. That mapping helps orient the agent, but the limit parameter is never mentioned in the description, and format details for node IDs are 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?

States a specific verb ("Scan") plus a specific resource ("text nodes") and enumerates the traversal scopes: under a node, a screen, the current page, or the whole document. That is enough to distinguish it from write-oriented siblings like figma_set_text or figma_find_replace_text, though it never names or contrasts with figma_scan_nodes_by_types.

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 explicit when-to-use or when-not-to-use guidance, and no named alternative. The enumeration of target scopes hints at usage but does not tell an agent why to pick this over figma_scan_nodes_by_types or figma_search_nodes, nor when document-wide scanning is appropriate versus page-scoped scanning.

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