Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

detach_instance

Detaches a Figma instance into a plain frame, including any parent instances, so you can edit its contents independently.

Instructions

Detach an instance into a plain frame (and any instances it sits in)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "nodeId": "<nodeId>"
    },
    "name": "detach_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe instance's ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden and does add real value by disclosing the cascade ('and any instances it sits in') and the output form (a plain frame). However, it omits what an agent most needs to know before mutating: whether the operation is irreversible, whether component overrides/linkage are destroyed, and whether it affects only the target subtree.

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?

A single front-loaded sentence with no filler, and the resulting state is stated before the parenthetical scope note. The parenthetical itself is slightly cryptic — '(and any instances it sits in)' reads ambiguously as either a warning about nesting or a note about which nodes are affected.

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 tool is structurally simple (one fully documented required parameter, no output schema), so little explanation is strictly needed. But it is an unannotated, likely destructive mutation, and the description never addresses reversibility, override loss, or the shape of the result — a notable gap for an operation of this kind.

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% for the single nodeId parameter ('The instance's ID'), so the schema already supplies the parameter meaning. The description adds nothing about the identifier (e.g. node vs component key) — the baseline 3 is appropriate when structured fields do the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ('Detach') with a specific resource ('an instance') and states the resulting state change ('into a plain frame'), so an agent knows exactly what the operation produces. It does not name or contrast with any sibling tool (e.g. create_component_instance or set_instance_overrides), which keeps it out of the top band.

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: an agent can infer this is the operation to run when a component instance must become editable plain geometry, but the description never states when to choose it over alternatives such as editing instance properties or overrides. No prerequisites or exclusions are given.

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