Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_setup_design_tokens

Creates a complete Figma variable collection with modes and tokens in one call, ideal for importing CSS custom properties or design tokens. Requires Canvas Bridge plugin.

Instructions

Create a complete design token structure in one operation: collection, modes, and all variables. Ideal for importing CSS custom properties or design tokens into Figma. Requires Canvas Bridge plugin.

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": {
      "collectionName": "<collectionName>",
      "modes": "<modes>",
      "tokens": "<tokens>"
    },
    "name": "figma_setup_design_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
modesYesMode names (first becomes default). Example: ['Light', 'Dark']
tokensYesToken definitions (1-100)
collectionNameYesName for the token collection (e.g., 'Brand Tokens')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A3.5/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 one important prerequisite: 'Requires Canvas Bridge plugin.' That is real value beyond structured fields. It still omits whether creation is atomic (partial failure behavior), whether an existing collection with the same name is overwritten, and whether modes can later be added or removed.

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?

Three short sentences, front-loaded with the action and scope, then the ideal use case, then the hard prerequisite. Every sentence carries distinct information with no 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 3-required-parameter creation tool with no annotations and no output schema, the definition covers purpose, use case, and the plugin prerequisite. Missing pieces are the return value (collection/variable identifiers the agent would need for follow-up calls) and collision/failure behavior.

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%, with each parameter and nested token field documented (including the 'values keyed by mode NAME not ID' caveat and the 1-100 token limit). The description adds no parameter-level meaning beyond that, so the baseline 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 plus resource: 'Create a complete design token structure' and then enumerates the scope (collection, modes, all variables). The phrase 'in one operation' implicitly separates it from single-item siblings like figma_create_variable or figma_add_mode, but no sibling is named, so differentiation is inferred rather than stated.

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?

'Ideal for importing CSS custom properties or design tokens into Figma' gives a concrete use case. However, it never says when to prefer this over figma_create_variable_collection or figma_batch_create_variables, nor what to do if the collection already exists, so the agent must guess at the boundary.

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