Skip to main content
Glama

Delete component property

figma_delete_component_property
DestructiveIdempotent

Delete a TEXT, BOOLEAN, INSTANCE_SWAP, or SLOT property from a Figma component or component set, removing it and all instance overrides. Variant properties cannot be deleted.

Instructions

Delete a TEXT, BOOLEAN, INSTANCE_SWAP or SLOT property from a component or component set: every instance loses it, overrides included. A VARIANT property cannot be deleted — it comes from the variant names, so rename the variants instead. To rename or rewire a property use figma_edit_component_property. Editors: Design; unverified: FigJam, Slides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionNoOptional sessionId or file name, to pick a Figma file when more than one is connected.
propertyYesIts name ("Label") or full key ("Label#2:0").
componentIdYesThe COMPONENT or COMPONENT_SET (a variant id is redirected to its set).
idempotencyKeyNoCaller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare destructiveHint and idempotentHint, but the description adds the crucial blast radius that annotations cannot: every instance loses the property, overrides included. That is exactly the kind of context an agent needs before a destructive call, plus per-type eligibility and editor-support caveats.

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?

Three compact sentences, zero filler: the effect, the exception, and the alternative tool, followed by the editor-support note. The destructive consequence is front-loaded rather than buried.

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

Completeness5/5

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

For a destructive, no-output-schema tool with four params fully documented in the schema, the description covers what remains: destructiveness scope, which property types are legal, the VARIANT exception, the alternate tool, and platform support. Nothing an agent needs to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds semantic value beyond the schema: it names the four valid property types and clarifies that VARIANT is rejected, and it explains the relationship between a component and its component set that the schema only hints at. It does not add format details for the property key, but the schema already does.

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 (component property), enumerates the exact deletable property types (TEXT, BOOLEAN, INSTANCE_SWAP, SLOT), and explicitly carves out the exception (VARIANT) that an agent would reasonably assume was deletable. It also names the sibling figma_edit_component_property for the adjacent operation.

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

Usage Guidelines5/5

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

Gives a clear when-to-use (delete a property), a when-not with a named alternative (VARIANT cannot be deleted, rename variants instead), and routes to figma_edit_component_property for rename/rewire. Also states editor support (Design verified; FigJam and Slides unverified), which is a usage constraint.

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