Skip to main content
Glama

search_nodes

Destructive

Find Figma nodes by name or type within specific subtrees. Locate design elements in targeted document sections without loading the entire file structure.

Instructions

Search for nodes by name substring and/or type within a subtree. Avoids dumping the entire document tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return (default: 50)
nodeIdNoScope search to this subtree (default: current page), colon format e.g. '4029:12345'
queryYesName substring to match (case-insensitive)
typesNoFilter by Figma node type e.g. ['TEXT', 'FRAME', 'COMPONENT']
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare destructiveHint=true and readOnlyHint=false, which is unexpected for a 'search' operation. The description fails to explain why searching would be destructive, what side effects occur, or why openWorldHint is true. It adds no behavioral context beyond the scope limitation.

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

Conciseness5/5

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

Two sentences total. The first states the core function; the second provides the value proposition/constraint. No filler or redundancy—every word earns its place.

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

Completeness3/5

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

Adequate for a search tool with no output schema, but gaps remain: it doesn't describe return values (list of node IDs? full objects?), doesn't explain the destructive annotation, and doesn't specify pagination behavior beyond the limit parameter.

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?

With 100% schema description coverage, the baseline is 3. The description maps concepts ('name substring', 'type', 'subtree') to parameters but adds no syntax details, format examples, or semantic constraints beyond what the schema already provides.

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

Purpose5/5

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

The description uses a specific verb ('Search') with clear resource ('nodes') and scope ('within a subtree'). The second sentence distinguishes it from full-document retrieval tools, addressing sibling differentiation.

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

Usage Guidelines4/5

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

The phrase 'Avoids dumping the entire document tree' implies when to use this tool (targeted searches) versus alternatives like get_document or scan_nodes_by_types. However, it doesn't explicitly name sibling alternatives or state prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vkhanhqui/figma-mcp-go'

If you have feedback or need assistance with the MCP directory API, please join our Discord server