Skip to main content
Glama

Get File Nodes

get_file_nodes
Read-onlyIdempotent

Get specific nodes from a Figma design file by their node ids. Returns a compact map of node id to { name, type }. Use to inspect particular frames, components, or layers within a design file.

Input Schema

NameRequiredDescriptionDefault
file_keyYesThe Figma file key (the segment after /file/ or /design/ in a Figma URL).
node_idsYesComma-separated list of node ids to retrieve (e.g. "1:2,1:3").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "file_key": "abc123xyz",
      +    "node_ids": "1:2,1:3"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds the return format detail but no additional behavioral traits beyond annotations. The description adds some value but is not heavily burdened due to rich annotations.

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: first states action, second specifies return format and typical usage. Every word earns its place; no wasted content. Highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity, good annotations, and full schema coverage, the description covers purpose, return format, and usage. No output schema exists, but the description outlines the return structure. Complete enough for effective use.

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% with parameter descriptions. The description adds no new semantic meaning beyond what's in schema; it simply reiterates 'by their node ids'. 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 retrieves specific nodes from a Figma design file by ID, and specifies the return format (compact map of id to name/type). It distinguishes from siblings like get_file (whole file) or get_file_images.

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 advises using the tool to 'inspect particular frames, components, or layers,' implying use cases. It does not explicitly exclude alternatives or contrast with siblings, but the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.