Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_create_variable_collection

figma_create_variable_collection

Creates a local Figma variable collection to organize design tokens and variables for styling and theming.

Instructions

Create a local variable collection.

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
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.4/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 burden of behavioral disclosure and largely drops it. It does not say whether the operation requires an open/active Figma file, whether the collection name must be unique, what happens on duplicate names, whether the new collection is empty, or what the response contains (e.g. a collection id) needed to call figma_create_variable next.

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

Conciseness3/5

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

The single sentence is front-loaded and contains no filler, which is good structure. But at this length it is under-specified rather than concise; the brevity comes at the cost of any actionable detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a state-mutating tool with no annotations, no output schema, and an undocumented parameter, so the description is the only source of behavioral context — and it provides none beyond the action name. An agent would not know about file-context requirements, idempotency, or how to use the result to create variables inside the collection.

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

Parameters2/5

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

There is one parameter (name) with 0% schema description coverage, and the description says nothing about it — no naming rules, uniqueness constraints, or whether it is the display name of the collection. With a single undocumented parameter, the description should have compensated and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence names a verb ("Create") and a resource ("local variable collection"), so the basic action is intelligible. However, it is essentially a restatement of the tool name with the single qualifier "local" added, and it does nothing to distinguish this from the closely related siblings figma_create_variable or figma_add_variable_mode.

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 versus creating a variable directly or adding a mode to an existing collection. The word "local" hints that it is file-scoped rather than library/remote, but no exclusions or prerequisites are stated.

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