Skip to main content
Glama

Clone Element

elementor_clone_element

Deep-clone an Elementor element and all child elements with new unique IDs, either within the same page or into another page or container. Use it to duplicate complex layouts without rebuilding them.

Instructions

Deep-clone an element (including all children) with new unique IDs. Can clone within the same page (inserts after original) or to a different page/container. Perfect for duplicating complex layouts.

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": {
      "postId": "<postId>",
      "elementId": "<elementId>"
    },
    "name": "elementor_clone_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesSource page ID
elementIdYesElement ID to clone
targetPostIdNoTarget page ID for cross-page clone. Omit for same-page clone.
targetContainerIdNoTarget container ID (required for cross-page clone, optional for same-page)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write. The description adds real behavior beyond them: the copy is deep (children included), identifiers are regenerated uniquely, and the same-page result is inserted immediately after the original. It does not cover permissions or whether post-save hooks/regeneration of CSS occur.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what is cloned, followed by the placement modes and a one-line use case. No filler or redundancy.

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?

There is no output schema, and the description never says what the call returns — an agent that needs the newly generated element ID to chain a follow-up call would have to guess. Otherwise it is sufficient for a 4-parameter clone operation whose annotations and schema already cover safety and parameter meaning.

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% and the schema already states that omitting targetPostId means same-page and that targetContainerId is required for cross-page clones. The description only restates those same-page/cross-page semantics, adding no new syntax or constraint beyond the structured fields.

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?

States a specific verb and resource ('Deep-clone an element') plus an explicit scope of what is copied ('including all children') and the key side effect ('new unique IDs'). This clearly separates it from sibling operations like elementor_move_element, elementor_add_element, and elementor_update_element.

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 gives the two usage modes explicitly: same-page clone (result inserted after the original) versus cross-page/container clone. That is clear situational context, but it never names alternatives (e.g., move vs. clone vs. add) or states when cloning is inappropriate.

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