Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_get_node

figma_get_node

Retrieves a Figma node by ID with full detail, including bounds, fills, auto layout, text, component properties, variables, styles, masks, and effects for design inspection.

Instructions

Get one node by Figma node ID (detail: full). Besides bounds/fills/strokes it reports stroke weight/align/dash, auto layout and Fixed/Hug/Fill sizing, text details and styled segments, component and instance properties, bound variable names (vars), style names, masks and effects. The root's refs table lists collection/type/remote/key for the variables and styles named in the tree.

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": "figma_get_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo
nodeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses a rich set of returned properties including strokes, auto layout, text details, component/instance properties, variable and style names, masks, effects, and a root refs table. It does not explicitly state that the operation is read-only, but 'Get' strongly implies it.

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?

The description front-loads the core action and then enumerates returned data in a compact way. It is dense but not bloated, and every part contributes useful information about what the node payload contains.

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?

The tool is a read operation with two parameters and no output schema, so the description should explain both return content and parameter behavior. It does a good job describing returned data but leaves the depth parameter unexplained and provides no explicit usage boundaries relative to sibling tools.

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 clarify both parameters. It mentions the node ID and implies detailed output, but it never explains the optional 'depth' parameter, its 0-6 range, or traversal depth semantics. One of two parameters is effectively 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?

The description states a specific verb and resource: 'Get one node by Figma node ID (detail: full).' It clearly conveys a single-node detailed retrieval. It does not explicitly distinguish itself from siblings like figma_get_nodes_info or figma_get_design_context, so it stops short of a 5.

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 'detail: full' and the enumerated return contents imply that this tool is for deep inspection of one node. However, there is no explicit when-to-use guidance, no exclusions, and no named alternative for related lookups such as fetching multiple nodes or design context.

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

Deploy Server

Other Tools