Skip to main content
Glama
Figma Design Pipeline

Figma Design Pipeline

by spfr

figma_find_nodes

Search and filter Figma nodes by name, type, classification, text, or dimensions to locate specific elements and return only matching results without exporting the full tree.

Instructions

Search/filter nodes by name pattern, type, classification, text content, or size. Returns matching nodes without full tree output.

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

Input Schema

NameRequiredDescriptionDefault
typeNoFigma node type filter (e.g., 'FRAME', 'INSTANCE', 'TEXT', 'COMPONENT')
limitNoMax results to return
nodeIdNoRoot node ID to search within. Auto-extracted from figmaUrl if provided.
figmaUrlNoFigma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session.
maxWidthNoMaximum node width in pixels
minWidthNoMinimum node width in pixels
maxHeightNoMaximum node height in pixels
minHeightNoMinimum node height in pixels
componentIdNoFilter instances by component ID
hasChildrenNoFilter nodes with/without children
namePatternNoRegex pattern to match node names (case-insensitive)
textContentNoRegex pattern to match text content (case-insensitive)
classificationNoFilter by node classification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.2/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. It does disclose the one useful trait that results are match-only rather than a full tree, but says nothing about result ordering, how matching is scoped when no root node is given, truncation behavior at the limit, or what a match record contains.

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?

Two tight sentences with the capability front-loaded and the differentiating return behavior second. No filler, though a third short sentence on scoping or combination semantics would have earned 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?

For a 13-parameter search tool with no annotations and no output schema, the description covers the what but not the how: no note on default scoping when nodeId/figmaUrl are absent, no description of the returned match shape, and no guidance on how the many filters interact. The rich schema compensates for parameter-level gaps but not for behavior around the edges.

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%, so the schema already documents all 13 parameters, which sets the baseline at 3. The description adds only a grouped summary of the filter dimensions and no extra semantics such as how namePattern and textContent regexes are applied, whether filters combine with AND, or what classification values mean.

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?

Specific verb+resource: "Search/filter nodes" with the exact filter dimensions enumerated (name pattern, type, classification, text content, size). The clause "Returns matching nodes without full tree output" distinguishes it from full-tree retrieval such as figma_get_tree, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

The phrase "without full tree output" implies the usage context (prefer over a full tree dump when you only need matches), but there is no explicit when-to-use, when-not-to-use, or named alternative. Guidance must be inferred from the contrast.

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