Skip to main content
Glama

figma_get_file

Fetch a Figma document using its file key or URL, with options to shrink the response by limiting depth or selecting specific node IDs.

Instructions

Gets the Figma document (GET /v1/files/:key). Use depth/ids to shrink the payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoNode IDs (comma-separated or array). URL node-id (1-2) is accepted.
urlNoFigma file or node URL.
depthNoTree depth.
fileKeyNoFigma file key or full URL (figma.com/design/...).
Install Server

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It signals a read-only operation via 'GET /v1/files/:key' and warns that payloads can be large enough to warrant depth/ids. It does not mention auth requirements, error behavior, or return structure, but for a straightforward read call this is sufficient.

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?

The description is two short sentences with no filler. The core action and endpoint are front-loaded, and the second sentence provides a practical tip that earns its place.

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?

Given there is no output schema and no annotations, the description could say more about the returned document structure or which parameter is primary when all parameters are optional. However, the schema documents all parameters well, and the description conveys the core operation and the key payload-reduction technique, so it is adequate but not exhaustive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, establishing a baseline of 3. The description adds value by explaining that 'depth/ids' can shrink the payload, which is not explicitly stated in the input schema and helps an agent understand how to control response size.

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 clearly states the action ('Gets') and the resource ('the Figma document'), and even includes the exact endpoint. It does not explicitly contrast with sibling tools like figma_get_metadata or figma_get_screenshot, but the document scope is reasonably distinct without needing further differentiation.

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

Usage Guidelines2/5

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

There is no guidance about when to choose this tool over alternatives such as figma_get_metadata or figma_get_design_context. The only instruction, 'Use depth/ids to shrink the payload,' is about parameter usage rather than tool selection, so an agent gets no routing or exclusion criteria.

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

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/iwilldotdev/dev.mcp'

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