Skip to main content
Glama
FigeloMCP
by mmonzera

create_variable_collection

Create a Figma variable collection by specifying a name and optional named modes such as Light and Dark. Target a specific document channel when multiple Figma files are open.

Instructions

Create a Figma variable collection with optional named modes (e.g. ["Light", "Dark"]).

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

Input Schema

NameRequiredDescriptionDefault
nameYesCollection name
modesNoOptional mode names e.g. ["Light", "Dark"]
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about permissions, behavior on duplicate collection names, whether a default mode is auto-created when 'modes' is omitted, or what the call returns. For a mutation tool with zero annotation coverage this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no waste. It is tight, though the parenthetical mode example duplicates content already present in the schema.

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?

A simple three-parameter create tool with no output schema; the definition covers what is created but not what comes back (e.g. the new collection ID) or side effects. Adequate but with clear gaps for a mutation.

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 coverage is 100%, so all three parameters are already documented in the schema, including the same modes example given in the description. The description adds no meaning beyond it, which is the expected baseline when the schema does the work.

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?

States a specific verb and resource: 'Create a Figma variable collection.' The named resource is distinct from the sibling create_variable (which makes individual variables), so an agent can tell them apart, though the description never explicitly contrasts them.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as create_variable or batch_create. The parenthetical about optional modes is a parameter note, not usage direction.

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