Skip to main content
Glama
Talk to Figma MCP

Talk to Figma MCP

by thanatusdev

insert_child

Moves a Figma node into a specified parent container at a chosen index to reorder layers or place elements precisely within the design hierarchy.

Instructions

Move a node into a parent container at a specific index

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": {
      "parentId": "<parentId>",
      "childId": "<childId>"
    },
    "name": "insert_child"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexNoIndex to insert at (appends if not specified)
childIdYesThe ID of the child node to insert
parentIdYesThe ID of the parent node

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it only says 'Move'. It does not state what happens to the child's previous parent, whether moving a node into its own descendant is rejected, whether existing siblings shift, or whether the operation requires the document to be unlocked.

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?

One front-loaded sentence with no filler, verb and resource first and the positional qualifier second. It is efficient, though its brevity reflects missing content rather than disciplined trimming.

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

Completeness2/5

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

For a mutation tool with zero annotations and no output schema, the description is too thin: no reordering semantics, no failure modes, no indication of what the tool returns. The unresolved overlap with move_node leaves an agent without enough to choose confidently between the two.

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%, with index, childId, and parentId all documented including the append-if-omitted default, so the baseline is 3. The description's 'at a specific index' merely restates the index parameter without adding format, bounds, or edge-case meaning.

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 states a specific verb and resource (move a node into a parent container) plus the positional constraint (specific index). It is clear on its own, but it never distinguishes itself from the sibling move_node, which an agent would reasonably consider for the same task.

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

Usage Guidelines2/5

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

There is no explicit when-to-use, when-not-to-use, or alternative named. The phrase 'at a specific index' hints at positional reordering, but the description does not say how this differs from move_node, which is the exact ambiguity an agent needs resolved.

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