Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Duplicate a layer

figma_clone_node

Duplicate a Figma layer to reuse existing designs, optionally placing the copy in another parent frame or at specific x/y coordinates.

Instructions

Duplicates a layer, optionally into another parent and at a position.

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": {
      "node_id": "<node_id>"
    },
    "name": "figma_clone_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
urlNoFigma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file.
node_idYesNode id, e.g. "12:345" (link form "12-345" also accepted)
parent_idNoParent frame/group/page id; defaults to the current page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true, so the agent knows this is a repeating, non-destructive write. The description adds that the new copy can land in a different parent and coordinates, but omits practical behavior: whether the original selection/name changes, what identifier the copy gets back, and how cross-file editing behaves.

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 tight sentence with the core operation front-loaded and the optional modifiers trailing. It wastes no words, though the extreme brevity leaves gaps that a slightly longer sentence could have filled.

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?

For a 5-parameter mutation tool with no output schema, the description is minimally adequate: it covers what is duplicated and the two optional placement dimensions. It does not say what the call returns (e.g., the new node id) or how the duplicate is named/selected, which matters for chaining a subsequent move or update.

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 coverage is 60%, and the description only restates that parent and position are optional, which the schema already conveys via parent_id and x/y. It adds no meaning for the url parameter's multi-file condition or the node_id link-form alternative, beyond what the schema descriptions already state.

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 gives a specific verb ("duplicates") and resource ("a layer"), plus the scope of what duplication can mean here (another parent, a position). It is clearly distinct from creation or movement, though it does not name figma_create_node or figma_move_node as the alternatives an agent might confuse it with.

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 or when-not-to-use guidance. The mention of "optionally into another parent and at a position" hints at overlap with move/create tools, but the agent must infer that clone is for copying an existing layer rather than building or relocating one.

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