Skip to main content
Glama
southleft

figma-console-mcp

by southleft

figma_reset_slot

Reset a slot on a component instance to its default empty state from the main component, restoring expected slot content and structure.

Instructions

Reset a slot on a component instance to its default (empty) state from the main component. Uses SlotNode.resetSlot().

MULTI-FILE (Local Mode only): Pass fileKey to run this against a specific connected file without switching the active file/target lock (see figma_list_open_files). Does not change the active file or target lock. Cloud Mode pairs with a single plugin instance and rejects fileKey.

Input Schema

NameRequiredDescriptionDefault
slotIdNoDirect SlotNode ID
fileKeyNoLocal Mode only. Run against this specific connected file instead of the active file. Does not change the active file or target lock. Get connected fileKeys from figma_list_open_files. Rejected in Cloud Mode, which pairs with a single plugin instance.
slotNameNoSlot layer name on the instance
instanceIdNoInstance ID — use with slotName when slotId is unknown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.46.0

TDQS

A3.6/5.0
Behavior3/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. It usefully discloses the reset target state and multi-file execution constraints, but it does not state whether the reset is reversible, what permissions are required, or what happens if the slot does not exist.

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?

The description is front-loaded with the core action and then separates the multi-file caveat into a clearly marked second paragraph. It is efficient, though the multi-file note is somewhat verbose relative to the simple reset operation.

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

Completeness3/5

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

The description covers the main operation and the non-obvious fileKey behavior, and the schema fully documents all parameters. However, without annotations or an output schema, it leaves gaps around mutation safety, error conditions, and when this tool should be preferred over related slot operations.

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%, so all four parameters are already documented in the input schema. The description reinforces fileKey behavior but does not add meaning beyond the schema for slotId, slotName, or instanceId, making the baseline score appropriate.

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?

The description states a specific verb and resource: reset a slot on a component instance to its default empty state from the main component. This clearly distinguishes the tool from siblings like figma_create_slot or figma_append_to_slot without needing to name them explicitly.

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?

Usage is only implied by the tool name and the first sentence. The description explains the fileKey mode condition but does not explicitly say when to choose reset versus append or create slot operations, nor does it list prerequisites or exclusions beyond Cloud Mode fileKey rejection.

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