Skip to main content
Glama
figma-mcp
by ivn4k

Read nodes

get_nodes
Read-only

Reads Figma frames, layers, and pages by ID, returning each subtree up to a set depth with outline or full detail and a node cap.

Instructions

Read nodes (frames, layers, pages; "0:0" = document) by id with their subtree up to depth. Output is capped by maxNodes (see "truncated").

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": {
      "ids": "<ids>"
    },
    "name": "get_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
depthNo
detailNo"outline" = id/name/type/children only (cheap, for exploring); "full" = geometry, fills, layout, text, componentsfull
maxNodesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered, and the description adds genuinely useful behavior: results include the subtree down to `depth` and output is capped by maxNodes with a "truncated" indicator. The main omission is that it never says what a truncated result looks like or how to page past the cap.

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?

A single dense sentence with the resource and id semantics front-loaded and the truncation caveat appended. Nothing is redundant and every clause carries information.

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

Completeness4/5

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

For a read tool with no output schema and no nested objects, the description covers scope, the traversal control, and the output cap, which is close to sufficient. It would be complete if it stated what a "truncated" result implies for follow-up calls, but that gap is small.

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 only 25%, so the description has to carry weight, and it does explain `depth` (subtree traversal) and `maxNodes` (output cap) plus the "0:0" document id convention. It says nothing about `detail`, though that parameter has an informative enum description in the schema, leaving only marginal compensation for the coverage gap.

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 (“Read nodes”) and clarifies the node types covered (frames, layers, pages) plus the special document id "0:0". It does not explicitly contrast itself with lookalike siblings such as find_nodes or get_document, so the distinction is only implied by “by id”.

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 description gives no when-to-use or when-not-to-use guidance and names no alternative. An agent must infer from “by id” that this is for known ids and that find_nodes handles name-based lookup. Nothing states prerequisites or exclusions.

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