Skip to main content
Glama
neozhehan

Figma Edit MCP

Delete Variables

variable_delete
DestructiveIdempotent

Delete specific variables or an entire collection after verifying they are unused in the document. Rejects deletion if any target is still in use.

Instructions

Delete specific variables or an entire collection. Runs a full-document consumer check first and rejects the whole operation if any target is still in use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variableIdsNoArray of variable IDs to delete. Mutually exclusive with collectionId.
collectionIdNoID of a variable collection to delete. Mutually exclusive with variableIds.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successNoWhether variables were deleted successfully
messageNoStatus message
Behavior4/5

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

Annotations already indicate destructiveHint and idempotentHint. The description adds valuable behavioral detail: a full-document consumer check before deletion and rejection if any target is in use. This goes beyond what annotations provide.

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

Conciseness5/5

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

Two sentences with no unnecessary words. First sentence states purpose, second adds a critical behavioral condition. Extremely concise and well-structured.

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?

Given the tool's complexity (destructive with consumer check, two mutually exclusive params, has output schema), the description covers key behavioral context. Minor omission: no mention of success outcome, but output schema likely covers return structure.

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 already explains mutual exclusivity between variableIds and collectionId. The description reiterates the purpose but does not add new semantic meaning beyond what the schema provides.

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?

Clearly states it deletes specific variables or an entire collection. The verb 'delete' and resource 'variables' or 'collection' are explicit, and it distinguishes from sibling tools like variable_list or variable_manage which do not perform deletion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage through parameter descriptions (mutual exclusivity) and mentions a consumer check, but does not provide explicit guidance on when to use this tool versus alternatives or when not to use it. No mention of alternatives like variable_manage for partial updates.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neozhehan/figma-edit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server