Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

get_node_info

Retrieve a Figma node and its subtree as trimmed REST JSON, including components, styles, text styles, bound variables, and layout details.

Instructions

Get a node and its subtree as Figma's REST JSON, trimmed, with its component, styles, text styles, bound variables and layout

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": {
      "nodeId": "<nodeId>"
    },
    "name": "get_node_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to get information about

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses the response shape (REST JSON, "trimmed") and enumerates included sections — component, styles, text styles, bound variables, layout — which tells the agent the payload is enriched and subtree-scoped. Gaps remain around what "trimmed" omits, permission requirements, and whether large subtrees risk heavy payloads.

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?

One tightly packed sentence with the verb and scope front-loaded and no filler. The trailing list of included sections is dense but each item is informative rather than redundant.

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 single-parameter read tool with no output schema, the description supplies the return-value information an agent would otherwise lack by naming the included sections and the export format. Only minor details — subtree depth behaviour and failure modes for bad node IDs — are absent.

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 coverage is 100% and the single nodeId parameter is documented in the schema, so the baseline is 3. The description adds no extra meaning about nodeId format or how subtree depth is determined, which is fine given the schema already covers it.

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?

"Get a node and its subtree as Figma's REST JSON" states a specific verb, resource, scope (subtree) and return format, so the operation is unmistakable. It does not differentiate itself from the sibling get_nodes_info (plural) or get_document_info, leaving the agent to infer which retrieval tool fits.

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?

There is no explicit when-to-use, when-not-to-use, or alternative guidance. The agent can infer this is for inspecting a single node, but nothing says when to prefer it over get_nodes_info, get_document_info, or the style/variable-specific getters that overlap with its output.

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