Skip to main content
Glama

duplicate_email_template

Duplicate an email template, its saved versions and owned images into a new live template in the same scope. Excludes private drafts and does not send email.

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>",
      "name": "<name>"
    },
    "name": "duplicate_email_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
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. Changed3 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "type": "integer"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "target",
      -  "name",
      -  "expectedRevision"
      -]New value: +[
      +  "target",
      +  "name"
      +]
  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 declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false. Beyond that, the description discloses what is actually copied (saved versions and owned images) and what is excluded (private drafts), which materially affects expectations about side effects and asset ownership. It stops short of stating whether the copy is independent from the source afterwards or what permissions/scope constraints apply.

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?

Two short sentences with no filler; the scope statement and the two exclusions are front-loaded. Every clause carries information an agent needs.

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 a nested polymorphic target object and no output schema, the description covers the copy semantics but not the return value (new template identifier?) or the target discriminator rules. The 'excludes private drafts' claim also sits awkwardly next to a 'draftId' target field, which the description does not reconcile.

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 schema contains a nested 'target' object with a required 'kind' enum plus six optional id fields (pageId, draftId, emailId, eventId, designId, pageSlug). The description says nothing about the 'name' parameter nor how 'target' selects the source object or which id field pairs with which kind, leaving the most error-prone part of the call 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?

The description gives a specific verb ('Duplicate') and resource ('an email template, its saved versions and owned images'), plus the destination constraint ('a new live template in the same scope'). It is clear what the tool does, but it never names or contrasts with create_email_template, the closest sibling, so an agent must infer the boundary itself.

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?

'Excludes private drafts and does not send email' gives a partial when-not signal, useful for ruling out draft duplication and any expectation of delivery. However, there is no positive when-to-use statement and no guidance on choosing between this and create_email_template or duplicate_page/duplicate_wallet_design for other target kinds, so usage must be inferred.

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.