Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_export_tokens

figma_export_tokens

Export local Figma styles and variables as design tokens to sync design decisions with code and design systems.

Instructions

Export local styles and variables as design tokens.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It implies a read operation, but says nothing about permission requirements, whether remote/library styles are skipped, whether the export is written to disk or returned, or what 'design tokens' format means (W3C JSON, CSS variables, etc.).

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 eight-word sentence with the resource and output named up front and no filler. Nothing is redundant or buried.

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?

The tool is simple (no inputs), but it has no output schema, so the description is the only place a caller could learn what the export actually produces and in what form. Leaving the token format and delivery mechanism unstated is a real gap for an export tool, though the core intent is unambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema provides complete input coverage and there is nothing parameter-level for the description to compensate for. This meets the baseline for a parameterless tool.

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 names a specific verb ('Export') and specific resources ('local styles and variables') plus the output artifact ('design tokens'). It is clearly distinguished from creation/mutation siblings like figma_create_variable or figma_create_text_style, though it does not explicitly distinguish itself from figma_export_frames_to_pdf or other potential export paths.

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 guidance on when to use this rather than alternatives, no preconditions (e.g., whether a file/node context must be active), and no statement of what is excluded. The word 'local' hints at scope but the agent must infer what 'local' means here.

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