Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_delete_variable_collection

Delete a Figma variable collection and every variable it contains. Use this destructive action only to remove an entire collection, since it cannot be undone.

Instructions

Delete a Figma variable collection and ALL its variables. WARNING: This is a destructive operation that deletes all variables in the collection and cannot be undone (except with Figma's undo). Requires the Canvas Bridge plugin to be running.

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>"
    },
    "name": "figma_delete_variable_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionIdYesThe collection ID to delete (e.g., 'VariableCollectionId:123:456'). Get this from figma_get_variables.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does most of it well: it flags the operation as destructive, declares the effects (all variables in the collection go), and states irreversibility with the undo caveat. It stops short of covering failure behavior (missing/invalid collection ID) or any permission requirements.

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?

Two sentences, front-loaded with the action and its scope, then the warning. The phrase 'deletes all variables in the collection' partially repeats 'ALL its variables', a small redundancy for emphasis but not wasted text overall.

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 single-parameter destructive tool with no output schema, the description covers the essentials: what is destroyed, irreversibility, and the runtime prerequisite. Only edge-case behavior (invalid ID handling, what is returned on success) is unaddressed, which is minor here.

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% and the schema already explains collectionId, including the format example and the pointer to figma_get_variables. The description adds no parameter-level meaning beyond that, so the baseline of 3 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 (delete) and resource (Figma variable collection), and explicitly scopes the blast radius to 'ALL its variables', which distinguishes it from a single-variable deletion. An agent can tell this apart from figma_delete_variable without inspecting schemas.

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?

Gives clear context for use: it is the collection-level delete, and it names a hard prerequisite ('Requires the Canvas Bridge plugin to be running'). It does not explicitly say 'use figma_delete_variable instead if you only want one variable', so the exclusion is implied rather than 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