Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

by Shivam990q

get_figma_data

Extract simplified, deduplicated design context in YAML or JSON from a Figma URL while limiting LLM token use.

Instructions

Extracts simplified, deduplicated design context (YAML/JSON) from a Figma URL without burning LLM context tokens.

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": {
      "url": "<url>"
    },
    "name": "get_figma_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFigma design URL
depthNoDepth cap
formatNoyaml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose something meaningful: output is simplified and deduplicated YAML/JSON, motivated by context-token economy. It says nothing about Figma authentication requirements, rate limits, failure modes, or how much of the file is returned.

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

Conciseness4/5

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

One front-loaded sentence with no filler; the value proposition (context-token savings) is stated up front. Brevity here costs some detail rather than introducing redundancy.

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 three-parameter read tool with no output schema and no annotations, the description covers what comes out but not the operational requirements (auth) or the meaning of depth. It is adequate but leaves real gaps an agent would hit on first call.

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 67%, so the schema already documents all three parameters at a basic level. The description corroborates the format parameter (YAML/JSON) but adds no meaning to 'depth' beyond the schema's terse 'Depth cap'.

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 pairs a specific verb ('Extracts') with a specific resource ('simplified, deduplicated design context from a Figma URL') and names the output formats. It is clear what the tool produces, though it never distinguishes itself from siblings such as get_design_tokens or get_code_connect.

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 explicit when-to-use or when-not-to-use guidance and no alternative is named. An agent can infer this is a read step feeding design-to-code workflows, but the definition leaves that entirely to inference.

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