Skip to main content
Glama

detach_instances

Idempotent

Detach Figma component instances from their masters to modify them independently. Supports single or batch detachments, with options to maintain position or skip errors for uninterrupted processing.

Instructions

Detaches one or more Figma component instances from their masters. Returns:

  • content: Array of objects. Each object contains a type: "text" and a text field with the detached instance's ID or error info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceIdNoA single Figma instance ID to detach.
instanceIdsNoAn array of Figma instance IDs to detach in batch.
optionsNoOptions for detaching instances.
Behavior4/5

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

The description adds value beyond annotations by specifying the return format ('Array of objects... with the detached instance's ID or error info'), which is not covered in annotations. Annotations already cover key behavioral traits (e.g., 'destructiveHint: false', 'idempotentHint: true', edge cases), but the description provides useful output context without contradiction.

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 resource, followed by return details in a clear format. It uses two sentences efficiently, with no wasted words, though it could be slightly more structured for readability.

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 (3 parameters, nested objects, no output schema) and rich annotations (covering safety, idempotency, edge cases), the description is reasonably complete. It adds output format details, but could benefit from more context on when to use specific parameters, though annotations help fill gaps.

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?

The schema description coverage is 100%, so the schema fully documents parameters like 'instanceId', 'instanceIds', and 'options'. The description does not add any parameter-specific semantics beyond what the schema provides, meeting the baseline for high coverage.

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 clearly states the verb ('detaches') and resource ('Figma component instances from their masters'), making the purpose specific. It distinguishes from siblings like 'create_component_instance' or 'duplicate_node' by focusing on detachment rather than creation or duplication.

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?

The description implies usage for detaching component instances, but does not explicitly state when to use this tool versus alternatives like 'flatten_node' or 'delete_node'. However, the annotations provide extra context with 'Use this command to detach one or more component instances from their masters in a single call,' which clarifies the intended context.

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

Related 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/amalinakurniasari/conduit'

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