Skip to main content
Glama

Duplicate a template

duplicate_template

Copy a template into a new one named " (Copy)" in the same organization, with its text, media, per-network overrides, options and tags. Returns the new template. Calling it again makes another copy.

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": {
      "templateId": "<templateId>"
    },
    "name": "duplicate_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateIdYesThe template ID (from list_templates)
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, open-world behavior; the description adds substance beyond that by spelling out the auto-generated "<name> (Copy)" naming, the same-organization scoping, the exact set of copied attributes, and the return of the new template. "Calling it again makes another copy" gives concrete meaning to idempotentHint=false, which the bare annotation does not convey. It does not mention permission requirements or any size/count limits on duplication.

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?

Three short sentences, front-loaded with the operation and the resulting name, with no filler. The nested quoting around "<name> (Copy)" is slightly awkward to read but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no elaboration; the description nonetheless says it returns the new template. For a 2-parameter, non-destructive mutation, the scope, copied fields, and repeat-call behavior are all covered, leaving only permissions and error conditions unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by stating the copy lands in the same organization as the source, which clarifies that organizationId selects the acting context rather than a cross-org destination. No parameter names or formats are added in the description beyond that.

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?

"Copy a template into a new one" is a specific verb+resource, and the definition goes further by enumerating what is duplicated (text, media, per-network overrides, options, tags) and the naming convention. It never names a sibling such as create_template or import_template, so the contrast with those tools is left implicit rather than stated.

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?

The use case (clone an existing template within the same organization) is implied clearly by the purpose, but there is no explicit statement of when to prefer this over create_template or import_template, and no prerequisites or exclusions are given. The note about repeated calls is the only usage-adjacent guidance.

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.

Resources