Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_delete_variable

figma_delete_variable

Delete a local Figma variable by ID or name to remove obsolete or unused design tokens and keep a live file's variable set current.

Instructions

Delete a local variable.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_delete_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
variableIdNo
variableNameNo

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 provided, so the description carries the full behavioral burden and delivers almost nothing. It does not say whether deletion is permanent, what happens to nodes bound to the variable, whether the variable must be unpublished or unused first, or what the tool returns.

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 free of filler, so it is structurally clean. However, its brevity reflects under-specification rather than tight writing, since nothing of substance follows the verb.

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?

For a destructive mutation tool with no annotations, no output schema, and two undocumented optional parameters, the definition is far too thin. An agent cannot determine safe invocation preconditions or how to disambiguate the two identifiers from what is written.

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?

Schema description coverage is 0% for two parameters, and the description supplies no meaning for either. Critically, with zero required parameters it is unclear whether variableId and variableName are alternatives or must be supplied together, or which takes precedence if both are given.

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 verb+resource pair (delete a variable) is specific enough to separate this tool from figma_delete_nodes, figma_delete_page, and figma_delete_style, and the word 'local' hints at a scope restriction. But the sentence is essentially the tool name restated, adding no detail about what a variable is in this context or what deletion entails.

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 when-to-use guidance, no mention of when not to use it, and no reference to alternatives such as deleting a variable collection or cleaning up bindings first. An agent must infer entirely from the name that this is the right tool for variable removal.

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