Skip to main content
Glama

agent_duplicate

Create a copy of a preset revision with optional overrides for name, model, tools, and instructions. Model credentials stay shared; MCP credentials are not copied.

Instructions

Duplicate a preset revision with optional overrides. Model credentials stay shared; MCP credentials are not copied.

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": {
      "source": "<source>",
      "name": "<name>"
    },
    "name": "agent_duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
modelNo
patchNo
toolsNo
sourceYes
thinkingNo
connectionNo
descriptionNo
instructionsNo
from_revisionNo
client_request_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add genuinely useful behavioral detail the schema cannot express: model credentials remain shared while MCP credentials are not copied. It omits other important traits for a mutation tool — whether a new agent id is returned, permissions required, and whether the source revision is left untouched.

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?

Two short, front-loaded sentences with no filler; the core operation comes first and the credentials caveat follows. It is efficient, though the brevity is achieved by omitting necessary detail rather than by tightening prose.

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

Completeness2/5

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

For an 11-parameter mutation tool with a nested object, no annotations, and no output schema, this description is well under-specified. The credentials note is valuable, but the agent is left without any account of the override parameters, the return value, or prerequisites.

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 11 parameters exist, including a nested free-form 'patch' object, so the description must compensate and largely fails. 'Optional overrides' gestures at 'patch' and 'Preset revision' vaguely suggests 'from_revision', but source, name, tools, thinking, connection, instructions, model, description, and client_request_id are all left unexplained.

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 and resource: duplicate a preset revision, with optional overrides applied. An agent can grasp the operation, but the vocabulary mismatch ('preset revision' vs. the agent_* namespace) and the absence of any differentiation from agent_create leave some ambiguity about exactly what object is produced.

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 duplicate versus creating a new agent (agent_create) or modifying one (agent_update). The only implied trigger is the credentials note, which hints at copying an existing configuration but never states a condition for choosing this tool over its siblings.

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