Skip to main content
Glama

duplicate_widget

Clone a widget directly after the original on the same page, assigning a new ID, with duplicate check and confirmation.

Instructions

Duplicate a widget in place (right after the original). The clone gets a new id. Re-reads to confirm the clone persisted. Two-call confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_idNo
page_idYes
widget_idYes
confirmationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
page_idYes
confirmation_tokenNo
backup_meta_keyNo
css_flushNo
mutatedNo
warningsNo
verificationNo
source_widget_idYes
new_widget_idNo
Behavior4/5

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

The description adds context beyond annotations: 'Two-call confirmation' and 'Re-reads to confirm' reveal the tool's verification pattern. It also states non-destructive behavior ('clone gets a new id'), consistent with destructiveHint=false. No contradiction with annotations.

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 short (3 sentences) and front-loads the key purpose. However, it mixes behavioral notes and could benefit from structured bullet points. It is efficient but slightly informal.

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?

Given the 4 parameters with zero schema coverage, the description is incomplete. It does not explain the 'confirmation' parameter or the two-call flow in detail. An output schema exists, so return values are covered, but parameter semantics are lacking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no explanation for any parameter (site_id, page_id, widget_id, confirmation). It does not clarify the role of 'confirmation' or how the parameters relate to the duplication logic. The description fails to compensate for the lack of schema descriptions.

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 'duplicate', the resource 'widget', and key actions: 'in place (right after the original)', 'clone gets a new id', 're-reads to confirm', and 'two-call confirmation'. This distinguishes it from siblings like delete_widget, move_widget, etc.

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?

No guidance is provided on when to use this tool versus alternatives. Siblings like duplicate_elementor_page exist but no contrast is given. The description implies its use for duplication but lacks context for selection.

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

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/Mogacode-ma/elementor-mcp-agent'

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