Skip to main content
Glama
FigeloMCP
by mmonzera

get_document_info

Retrieve metadata, pages, and the active page for the connected Figma file; optionally target a specific document by channel, fileKey, or documentName when multiple files are open.

Instructions

Get document metadata, pages, and active page for the connected Figma file.

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": "get_document_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/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; it does disclose the shape of what comes back (metadata, pages, active page) and implies a live Figma connection is required. It says nothing about failure behavior when no file is connected, whether the call is read-only/side-effect free, or how costly it is, which are real gaps for a zero-annotation tool.

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?

A single front-loaded sentence with the return payload enumerated immediately and zero filler. Nothing in it is redundant or padded.

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?

This is a simple read tool with one optional param and no output schema, so the bar is modest, and the description does say what it returns. However, it omits any connection/prerequisite note, error behavior, and the alternative tools for obtaining pages or metadata, leaving meaningful gaps for an agent deciding whether to call it first.

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 description coverage is 100% and there is only one optional channel parameter, so the baseline of 3 applies; the description adds no extra meaning about when or how to supply that channel. It arguably works against the schema by saying 'the connected Figma file' in the singular while the parameter exists precisely for multiple open files.

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?

States a specific verb (get) and a specific resource bundle (document metadata, pages, active page) scoped to the connected Figma file. An agent can tell this is a cheap orientation/inspection call rather than a node fetcher, though it never explicitly contrasts itself with siblings like get_pages or get_node that overlap on the 'pages' output.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase 'connected Figma file' hints this is a first-call context bootstrap, but there is no explicit when-to-use, when-not-to-use, or named alternative for retrieving pages or metadata another way. The agent must infer selection between this and get_pages/get_node from the sibling names alone.

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