Skip to main content
Glama

Node subtree

vault_get_node
Read-only

Retrieve a specific Figma node and all its descendants to target exactly the needed subtree, avoiding full-document fetches.

Instructions

A node by id with all of its descendants. Use it instead of pulling the whole document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docIdYesDocument id as returned by vault_list
nodeIdYesNode id in Figma format, for example 1:42
includeHiddenNoAlso return nodes hidden in Figma (hidden: true) — optional component slots. Defaults to false: building the screen as it looks does not need them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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. The description adds useful behavioral context: it returns descendants, and the includeHidden parameter is explained with a practical default rationale ('building the screen as it looks does not need them'). This goes beyond the schema.

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, front-loaded with the core purpose, and the second sentence justifies usage. No wasted words.

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-only subtree retrieval tool with 100% schema coverage and no output schema, the description is complete enough. It could mention pagination or response shape, but the readOnlyHint and clear parameter docs make it adequate.

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 three parameters. The description adds a bit of context for includeHidden, but docId and nodeId are already well described in the schema. Baseline 3 is appropriate.

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 clearly states the tool returns a node by id with all descendants, and explicitly contrasts it with pulling the whole document. This distinguishes it from siblings like vault_get_doc and vault_search.

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 description says to use it instead of pulling the whole document, which gives clear context for when it is appropriate. It does not explicitly name alternatives or exclusions, but the sibling list and the 'instead of pulling the whole document' guidance are sufficient.

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