Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_create_variable_collection

Creates an empty Figma variable collection with a custom name and optional modes, so you can set up collection structure before adding variables.

Instructions

Create an empty variable collection. To create a collection WITH variables and modes in one step, use figma_setup_design_tokens instead. 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": {
      "name": "<name>"
    },
    "name": "figma_create_variable_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new collection (e.g., 'Brand Colors')
additionalModesNoAdditional mode names to create. Example: ['Dark', 'High Contrast']
initialModeNameNoName for the initial mode (default mode is created automatically). Example: 'Light'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4/5.0
Behavior3/5

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

With no annotations at all, the description must carry the safety profile. It correctly signals a mutating create ('empty variable collection') and adds a genuine prerequisite ('Requires Canvas Bridge plugin'), which is useful operational context an agent could not infer. It does not disclose behavior on duplicate names, permissions, or whether partial modes are rolled back on failure.

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, no filler, and the core action is front-loaded ahead of the alternative and the prerequisite. Every clause carries information.

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?

For a three-parameter creation tool with no output schema, the description covers what is created, the one-step alternative, and the plugin dependency. Remaining gaps (return value, duplicate-name handling, how returned collection ID is used downstream) are minor but real.

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%, including examples for name, additionalModes, and initialModeName, so the schema already does the parameter work. The description adds only the 'empty' framing and nothing about how mode names interact with the auto-created default mode, so the 3 baseline applies.

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?

States a specific verb and resource ('Create an empty variable collection') and immediately scopes it as empty-only, which separates it from the bulk design-token setup path and from figma_create_variable. An agent can distinguish it from siblings without reading any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent to figma_setup_design_tokens when variables and modes are needed in one step, which is a real when-to-use rule. It does not mention the follow-up path (figma_create_variable / figma_add_mode) for populating an empty collection, so guidance is clear but not exhaustive.

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