Skip to main content
Glama
wenym8

figmingo-mcp

by wenym8

get_variable_defs

Access design tokens from Figma by trying the Enterprise variables API first; if unavailable, falls back to published styles and inferred tokens from node fills and text styles.

Instructions

Get design tokens: tries the Enterprise variables/local endpoint first; on 403 falls back to published styles + tokens inferred from node fills/text styles. Every output is marked with source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoFull figma.com URL (design/file/proto). node-id query param is honored.
nodeIdNoNode id, "1:2" or "1-2" form. Overrides node-id in url.
fileKeyNoFigma file key (from the file URL). Provide either fileKey or url.
includeInferredNoInclude tokens inferred from node styles in fallback mode.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the fallback mechanism and that every output is marked with source, which is good transparency. However, does not mention potential side effects, authentication requirements, or rate limits.

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?

Two sentences with no wasted words. Front-loaded with main purpose, then details in second sentence. Very concise.

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

Completeness4/5

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

Covers the core functionality and fallback behavior. No output schema, but return values are fairly standard (tokens with source markers). Could mention that it returns variable definitions, but sufficient for an agent.

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 baseline is 3. Description adds context about fallback behavior but does not enhance parameter understanding beyond existing schema descriptions.

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

Purpose5/5

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

The description clearly states it retrieves design tokens with a specific verb 'Get'. It explains the dual approach: tries Enterprise endpoint and falls back to published styles/inferred tokens, distinguishing it from other tools.

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?

The description implies use for retrieving design tokens but does not explicitly guide when to use this tool over siblings like 'search_design_system' or 'get_metadata'. No 'when not to use' or alternatives mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wenym8/figmingo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server