Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_get_document

figma_get_document

Retrieve a serialized tree of the live Figma document to inspect page, frame, and node structure, with configurable depth and detail levels.

Instructions

Get a serialized Figma document tree.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo
detailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost none of it. It does not say whether the call is read-only (implied only by "Get"), how large the serialized payload may become, or how depth and detail change the result; for a whole-document traversal tool this is a material gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, so nothing is wasteful. But its brevity is under-specification rather than discipline — it is too small for a tool with two undocumented parameters and a broad document-wide scope.

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

Completeness2/5

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

With no annotations, no output schema, and zero schema coverage on both parameters, the description should carry nearly all the explanatory weight but supplies one sentence. An agent can guess this returns a document tree but cannot predict response size, filtering behavior, or parameter effects.

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

Parameters1/5

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

Schema description coverage is 0% and the description adds no meaning for either parameter. The words "serialized" and "tree" only dimly hint that depth/detail modulate traversal and verbosity; the enum values minimal/compact/full and the depth range 0-6 are left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb ("Get") and resource ("serialized Figma document tree"), which is more specific than a bare name restatement. However, it does not distinguish this tool from close siblings such as figma_get_node, figma_get_pages, figma_get_metadata, or figma_get_design_context — an agent cannot tell which one to reach for from the text alone.

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 when-to-use or when-not-to-use guidance, and no alternative is named despite many overlapping read tools in the sibling set. The agent must infer the scope (whole document vs. a page vs. a node) entirely on its own.

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