Skip to main content
Glama

clone_template

Create a copy of an existing template by providing its template ID and an optional new name.

Instructions

Create a copy of an existing template

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the cloned template
template_idYesThe template ID to clone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond the annotations: it does not say whether layers, pages, or renders are duplicated, whether the clone is independent of the source, or what happens if name is omitted.

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?

A single short, front-loaded sentence with no filler. It is efficient, though arguably too terse for a mutation tool with inheritance semantics.

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?

With annotations covering safety, a full schema, and no output schema, the essentials are present. However, for a clone operation the key unknown — what exactly is copied and whether the copy is linked to the original — is never addressed.

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

Parameters3/5

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

Schema description coverage is 100%, so both template_id and name are documented in the schema. The description adds no extra meaning, such as whether name defaults to the source template's name. Baseline 3 applies when the schema carries the load.

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: creating a copy of an existing template. This implicitly distinguishes it from create_template (which makes a new template rather than duplicating one), but the differentiation is left to inference 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 Guidelines2/5

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

No guidance on when to clone vs. use create_template, no prerequisites, and no mention of what the clone inherits. The agent must guess from the name alone.

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