Skip to main content
Glama
figma-mcp
by svv2014

get_figma_file_metadata

Retrieve lightweight metadata and structure from a Figma file using its file key, ideal for handling large design files without loading full content.

Instructions

Get lightweight metadata and structure of a Figma file (recommended for large files)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileKey": "<fileKey>"
    },
    "name": "get_figma_file_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileKeyYesThe Figma file key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden; "Get" implies retrieval and "lightweight" suggests a reduced response suited to large files. However, it does not disclose what content is omitted, how deep the returned structure goes, or whether any size, depth, or pagination limits apply.

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 single sentence is efficient and front-loads the operation and result scope. The large-file recommendation adds useful selection guidance without introducing redundancy or unnecessary wording.

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?

For a one-parameter retrieval tool, the description provides enough information for basic invocation and a useful large-file selection cue. Because there is no output schema, however, the vague phrase "metadata and structure" leaves the returned fields and structural granularity unclear, and the crowded set of Figma retrieval siblings makes the lack of sharper differentiation consequential.

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?

The sole parameter, fileKey, is required and already fully described in the schema, so the baseline score applies. The description adds no further detail about where to obtain the key or its expected format, but none is strictly necessary beyond the schema.

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 ("Get"), resource ("a Figma file"), and result scope ("lightweight metadata and structure"). "Lightweight" suggests a distinction from full-file retrieval, but the description does not clarify how it differs from similarly named siblings such as get_figma_file_info or get_smart_figma_overview.

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?

The parenthetical "recommended for large files" provides an explicit situation in which this tool is preferable. It does not name the alternative to use for smaller files or explain when complete file content or node-specific retrieval would be more appropriate.

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