create_variable_mode
Add a new mode to a Figma variable collection to manage design tokens and theme variations.
Instructions
Add a new mode to a variable collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| collectionId | Yes |
Add a new mode to a Figma variable collection to manage design tokens and theme variations.
Add a new mode to a variable collection.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| collectionId | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It is a mutating create operation but says nothing about permission requirements, whether the mode name must be unique, what happens if collectionId is invalid, or what is returned. This is a significant gap for an unannotated mutation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single efficient sentence with the action front-loaded and zero filler. It is well-sized, though the brevity reflects under-specification rather than tight editing of rich content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter mutation with no annotations, no output schema, and 0% schema description coverage, the description should cover prerequisites, uniqueness, and error behavior. As written it is too thin to fully guide a correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It only loosely implies the two params ('mode' -> name, 'variable collection' -> collectionId) and gives no format, id type, or naming constraints. It adds marginal meaning over the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb+resource ('Add a new mode') and its container ('to a variable collection'), so the agent knows exactly what is created. It does not distinguish this from siblings like set_variable_mode, rename_variable_mode, or delete_variable_mode, so it falls short of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this versus the sibling mode tools (set/rename/delete_variable_mode) or versus create_variable_collection. No prerequisites are given, such as requiring an existing collection. The agent must infer usage entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.