Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_batch_create_variables

Create multiple Figma variables in one batch operation to avoid repeated single-variable calls; supply a collection ID and up to 100 variable definitions.

Instructions

Create multiple variables in one operation. Use instead of calling figma_create_variable repeatedly — up to 50x faster for bulk operations. Get collection IDs from figma_get_variables first. 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": {
      "collectionId": "<collectionId>",
      "variables": "<variables>"
    },
    "name": "figma_batch_create_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
variablesYesArray of variables to create (1-100)
collectionIdYesCollection ID to create all variables in (e.g., 'VariableCollectionId:123:456')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the plugin prerequisite and a rough performance profile ('up to 50x faster'). It does not say whether the batch is atomic, what happens on a partial failure or name collision, or what is returned for the created variables — material gaps for a mutation admitting up to 100 items.

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?

Four short sentences, each doing distinct work: what it does, the alternative it replaces, the prerequisite lookup, and the plugin requirement. The alternative is front-loaded immediately after the purpose statement and there is no filler.

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?

Routing and prerequisites are fully covered, but for a batch mutation with no annotations and no output schema the description should still address outcome semantics — atomicity, conflict handling, and whether created variable IDs come back. Those are the remaining unknowns an agent cannot resolve elsewhere.

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 per-field docs for name, resolvedType, valuesByMode, and collectionId, so the baseline is 3. The description adds one genuinely useful pointer — obtaining collectionId via figma_get_variables — but nothing on the variables array's semantics (per-mode value shape, partial valid input) beyond the schema.

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 plus resource plus batch scope: 'Create multiple variables in one operation.' It also explicitly contrasts itself with the singular sibling figma_create_variable, so an agent can route between them without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use rule ('Use instead of calling figma_create_variable repeatedly'), plus two prerequisites: fetch collection IDs from figma_get_variables first, and the Canvas Bridge plugin must be present. Nothing about selection is left to inference.

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