Skip to main content
Glama
lostpunk
by lostpunk

get_node

Read-only

Read a Figma node or page by ID to retrieve geometry, text, paints, and auto layout; truncation is explicit.

Instructions

Read a node or page by ID, including geometry, text, paints and auto layout. Truncation is explicit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNo
nodeIdYes
maxNodesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.4

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower. The description adds genuine behavioral context beyond the annotations by disclosing that truncation is explicit and by enumerating the content categories returned, though it does not explain how truncation is triggered or controlled.

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 short sentences, zero waste, with the core action front-loaded and the truncation caveat attached. Nothing redundant.

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 three-parameter read tool with full annotation coverage and no output schema, this is adequate but incomplete: it says truncation happens yet omits that depth/maxNodes control it, leaving an agent without guidance on the very parameters that shape the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it largely does not. It clarifies that the ID may reference a node or a page (partial help for nodeId), but depth and maxNodes — which govern the truncation it mentions — are left completely undocumented.

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 ('Read') and resource ('a node or page by ID') and enumerates what is returned (geometry, text, paints, auto layout). It is distinguishable from siblings like find_nodes or get_document, but it never names or contrasts with them 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?

Usage is only implied by 'by ID' — an agent can infer this is for direct lookup rather than search, but there is no explicit when-to-use/when-not guidance or reference to alternatives such as find_nodes.

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