Skip to main content
Glama

duplicate_page

Duplicate a page into a new published slug in the same event, copying its assets and saved versions. Private drafts are excluded. Does not replace an existing slug.

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": {
      "target": "<target>",
      "slug": "<slug>"
    },
    "name": "duplicate_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-destructive, non-idempotent, open-world write, and the description adds real behavioral context: assets and saved versions are copied, private drafts are excluded from the copy, and an existing slug will not be replaced (so it presumably fails rather than overwrites). It does not say what happens on slug collision or what permissions/event scope are required, leaving a small gap.

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 the action and outcome, then the two behavioral caveats. No filler or repetition.

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 mutation tool with no output schema and a nested, undocumented parameter object, the description covers the outcome and two caveats but leaves the caller unsure which target identifiers to supply per kind and what is returned (new page id or slug). Annotations carry the safety profile, but the schema gap is only partly compensated.

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% for a nested target object with a kind enum and five optional identifiers, and the description only loosely implies that slug is the new published slug and that eventId ties it to the same event. It says nothing about how target.kind selects which id (pageId, emailId, designId, draftId) is required, so the most confusing part of the schema is left undocumented.

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?

States a specific verb+resource ("Duplicate a page") and the concrete outcome: a new published slug in the same event, with assets and saved versions copied. It implicitly separates itself from create_page/create_page_draft by copying an existing page, but never names a sibling explicitly.

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?

Gives useful when-to-use signals indirectly: use this to copy a page with its assets and versions, and note that private drafts are not included and existing slugs are not overwritten. It never states the alternative (e.g., create_page to start fresh, or duplicate_email_template for non-page targets), so selection still requires inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.