Skip to main content
Glama

Get specific nodes of a Figma file

figma_get_file_nodes
Read-onlyIdempotent

Retrieve full node data—fills, layout, dimensions, and text—for specific Figma node IDs to inspect frames or components after fetching a file.

Instructions

Returns full node data (fills, layout, dimensions, text) for specific node IDs. Use after figma_get_file to drill into a frame or component.

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": {
      "file_key": "<file_key>",
      "node_ids": "<node_ids>"
    },
    "name": "figma_get_file_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_keyYesFile key from the Figma URL
node_idsYesNode IDs, e.g. ['12:34'] or ['12:34','56:78']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety and repeatability are covered by structured data. The description adds the returned data shape, which is genuinely useful since there is no output schema. However, it says nothing about behavior at scale (the 30-node cap, batching across multiple calls) or failure modes for invalid or missing node IDs, so added value beyond annotations is moderate.

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 filler. The output content is stated first, then the usage cue, so the agent gets the essential purpose before any routing advice.

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 simple two-parameter read tool with rich annotations and a fully described schema, this covers the essentials: what comes back and when to reach for it. It could note that node_ids is capped at 30 per call (forcing batching) since that affects agent planning, but nothing critical is missing.

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%: file_key and node_ids are both documented with examples and bounds in the schema. The description only gestures at 'specific node IDs' and adds no format, limit, or cross-parameter detail. Baseline 3 applies because the schema already carries the parameter semantics.

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?

States a specific verb and resource ('Returns full node data... for specific node IDs') and enumerates what the data contains (fills, layout, dimensions, text). The final sentence explicitly contrasts it with figma_get_file, so an agent can tell the two apart without opening either schema.

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?

Gives clear situational guidance: 'Use after figma_get_file to drill into a frame or component.' That establishes a workflow position and a target object type. It stops short of stating when not to use it (e.g. for whole-file retrieval or for comment/image endpoints), so it is strong context rather than full routing logic.

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