Skip to main content
Glama

duplicateTemplate

Copy a contract template, with its .docx file and title, into a new template in the same location. Returns the new template; rename it with updateTemplate. Get templateId from getTemplates. Never invent UUIDs; only use values from prior tool responses.

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": "duplicateTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateIdYesThe id of the template.

Output Schema

NameRequiredDescriptionDefault
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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, closed-world mutation. The description adds real behavior beyond that: the copy duplicates the .docx file and title (so the new template inherits the old name), the result is the new template object, and the original is implicitly left intact. It does not mention permissions or quota effects, which keeps it short of a 5.

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 sentences, front-loaded with the action, then the follow-up rename, then the id-sourcing constraint. Every sentence carries distinct information with no repetition of the schema.

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

Completeness5/5

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

For a single-parameter copy operation with an output schema, the description covers purpose, source of the id, the resulting object, and the necessary follow-up call. Nothing an agent needs in order to invoke it correctly is missing.

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% and the single parameter is documented in the schema, so the baseline is 3. The description adds provenance semantics the schema cannot convey: the id must come from getTemplates and must never be fabricated, which directly affects how the agent sources the value.

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?

"Copy a contract template, with its .docx file and title, into a new template in the same location" names a specific verb (copy), a specific resource (contract template), and the exact scope of what is carried over (file + title) and where it lands (same location). It is clearly distinguished from updateTemplate (rename) and getTemplates (id lookup).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing: use updateTemplate to rename the copy and getTemplates to obtain the templateId beforehand. The prerequisite workflow and the follow-up action are both spelled out, so an agent knows both when to call this and what to do next.

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