Skip to main content
Glama
mhue26

figma-mcp-hybrid

by mhue26

Get Figma File

get_figma_file
Read-only

Fetch the document tree of any Figma file by its key. Control the depth of nodes retrieved to manage response size.

Instructions

Get a Figma file's document tree via the REST API. Reads any file by key (no need to open it in Figma). Keep depth low (default 2) to avoid huge responses. Requires FIGMA_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileKeyYesThe Figma file key (from the file URL)
depthNoTree depth to fetch; defaults to 2
Behavior4/5

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

Annotations already indicate read-only and open-world hints. The description adds that reading does not require opening the file and suggests depth management, which is useful context beyond the 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?

Four short sentences, each adding distinct value: purpose, key usage, performance tip, and token requirement. No wordiness.

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?

With good annotations and full schema coverage, the description covers the essential usage. It lacks an explicit description of the output structure, but the tool's purpose is clear enough for an agent.

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%, so the schema already describes both parameters. The description only reinforces the default depth value already in the schema, adding no new semantic information.

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 it retrieves a Figma file's document tree via the REST API using a file key, distinguishing it from sibling tools that fetch specific nodes or other data.

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?

Provides advice to keep depth low to avoid large responses and notes the requirement for FIGMA_TOKEN. However, it does not explicitly mention when not to use this tool or suggest alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mhue26/figma-mcp-hybrid'

If you have feedback or need assistance with the MCP directory API, please join our Discord server