Skip to main content
Glama
leethoneid

Figma Spec Compressor

compress_figma_url

Fetch a live Figma file or node from its URL and compress it into compact, agent-ready YAML or Markdown specifications.

Instructions

Fetch a live Figma file/node via REST API and compress it into compact agent-ready YAML or Markdown specification.

Input Schema

NameRequiredDescriptionDefault
urlYesFigma file/node URL (e.g. https://www.figma.com/design/:key/:title?node-id=...)
formatNoOutput format: 'yaml' or 'markdown'yaml
figmaTokenNoFigma Personal Access Token (optional if FIGMA_ACCESS_TOKEN env var is set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses that a network REST call is made against a live file, but says nothing about authentication failure behavior, rate limits, how large nodes are handled or truncated, or what happens when a node-id is absent from the URL. The auth requirement is only inferable from the token parameter in the schema, not the description.

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 sentence with no filler, front-loading the action (fetch via REST) before the outcome (compact agent-ready spec). Every clause 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?

For a three-parameter tool with no annotations and no output schema, it does cover the essential shape: input is a Figma file/node URL, output is a compact YAML/Markdown spec. It omits error/rate-limit behavior and how much compression occurs, which an agent would want before relying on the result.

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%, so all three parameters including the url format example, the yaml/markdown enum, and the token/env-var fallback are already documented. The description's mention of 'YAML or Markdown' echoes the format parameter without adding new semantics, so the baseline of 3 applies.

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?

Specific verb+resource: 'Fetch a live Figma file/node via REST API' and the transformation applied ('compress it into compact agent-ready YAML or Markdown'). It implicitly distinguishes itself from the sibling compress_figma_json by emphasizing a live REST fetch from a URL, but it never names that sibling or states the contrast outright.

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 implied rather than stated: 'live Figma file/node' suggests you use this when you have a URL instead of a pre-exported JSON payload, which is the natural split with compress_figma_json. There is no explicit when-to-use, when-not-to-use, or named alternative.

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