Skip to main content
Glama
southleft

figma-console-mcp

by southleft

figma_get_file_data

Retrieve a Figma file's document tree and node IDs to understand structure or locate components; start with summary verbosity and depth 1 to limit token usage.

Instructions

Get full file structure and document tree. WARNING: Can consume large amounts of tokens. NOT recommended for component descriptions (use figma_get_component instead). Best for understanding file structure or finding component nodeIds. Start with verbosity='summary' and depth=1 for initial exploration.

Input Schema

NameRequiredDescriptionDefault
depthNoHow many levels of children to include (default: 1, max: 3). Start with 1 to prevent context exhaustion. Use 0 for full tree only when absolutely necessary.
enrichNoSet to true when user asks for: file statistics, health metrics, design system audit, or quality analysis. Adds statistics, health scores, and audit summaries. Default: false
fileUrlNoFigma file URL (e.g., https://figma.com/design/abc123). Auto-detected from WebSocket Desktop Bridge connection. Only required if not connected.
nodeIdsNoSpecific node IDs to retrieve (optional)
verbosityNoControls payload size: 'summary' (IDs/names/types only, ~90% smaller - RECOMMENDED), 'standard' (essential properties, ~50% smaller), 'full' (everything). Default: summary for token efficiency.summary

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.46.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it discloses the key behavioral risk up front: large token consumption. It also gives a mitigation path (start with summary/1). It stops short of describing pagination, output shape, or auth requirements beyond what the schema states about auto-detection, so it's strong but not exhaustive.

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?

Four short sentences, front-loaded with the purpose then the warning, then the alternative, then the recommended starting config. Slight redundancy between the WARNING and the closing recommendation, but every sentence carries actionable information.

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 zero-required-parameter, five-param read tool with no annotations and no output schema, the description covers cost, scope, alternatives, and safe defaults. What's missing is a hint at return shape (node tree fields, ids/names) beyond 'document tree', which an agent might want before committing to a large payload.

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 each parameter already documents its own values, defaults, and tradeoffs (notably depth max 3 and verbosity enum). The description reinforces the recommended values ('start with verbosity=summary and depth=1') but adds little semantic detail beyond the schema, so this is the baseline 3 when the schema does the heavy lifting.

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 ('Get full file structure and document tree') and immediately distinguishes itself from the most likely confusion point, figma_get_component, for component descriptions. An agent can tell what it returns and what it should not be used for without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ('Best for understanding file structure or finding component nodeIds'), explicit when-not ('NOT recommended for component descriptions'), and it names the alternative to use instead. It even prescribes a safe starting configuration of verbosity='summary' and depth=1 for initial exploration.

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