Skip to main content
Glama

Clone agent

clone_agent

§7 Clone a proven agent: creates a new agent (copying profile + tool permissions + brain access) and restores a fresh snapshot of the source agent's memory/skills/goals into it.

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_agent_id": "<source_agent_id>",
      "new_name": "<new_name>"
    },
    "name": "clone_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_nameYes
descriptionNo
source_agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only tell us this is a non-read-only, non-destructive, non-idempotent, closed-world write. The description goes well beyond that by disclosing exactly what state is reproduced (profile, tool permissions, brain access) and that memory/skills/goals are restored as a fresh snapshot rather than shared with the source. It still doesn't say whether the clone's memory evolves independently or what happens if the source is missing.

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 front-loaded sentence that leads with the action ('Clone a proven agent') and then enumerates the copied artifacts. The nested parentheticals are dense but every clause adds real information; nothing is wasted.

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 non-destructive but stateful write with no output schema and fully undocumented parameters, the description covers the what but not the outcome: it never says what the call returns (presumably a new agent identifier) or any preconditions on the source agent. Adequate but with clear gaps given the schema richness is zero.

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 coverage is 0%, so the description carries the full burden. It implicitly maps source_agent_id ('source agent') and new_name ('creates a new agent'), but the optional description parameter is never explained, and no format/uniqueness expectations are given for any of the three.

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?

States a specific verb (clone/creates) plus the resource (a new agent) and enumerates exactly what is carried over: profile, tool permissions, brain access, and a snapshot of memory/skills/goals. That breadth ('copy everything') is what separates it in spirit from plain create_agent, so an agent can pick it without reading either schema.

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?

The phrase 'proven agent' hints that this is for duplicating an established agent, but there is no explicit when-to-use, when-not, or named alternative (e.g., use create_agent for a blank agent). The caller must infer the choice from the sibling name alone.

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