Skip to main content
Glama

Clone Project

clone_project

Copy categories, collections, flags, and path settings from a source project into the bound project while preserving its identity; choose merge or replace mode.

Instructions

Copy transferable configuration into the currently bound project.

Categories, collections, project flags, allowed-write paths, and additional-read paths transfer while the destination identity is preserved. In merge mode source mappings win and source path lists replace destination lists; replace mode copies all transferable configuration from the source.

Arguments

  • session_id: string | null

    • Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.

  • from_project (required): string

    • Source project name, or its exact - configuration key when the name is ambiguous or to recover a hashless legacy record

  • merge: boolean

    • If True, merge with the bound project's config; if False, replace it

  • force: boolean

    • If True, allow replace mode (merge=False) when the bound project already has categories or collections. Ignored when merge=True.

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": {
      "args": "<args>"
    },
    "name": "clone_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for cloning transferable configuration into the bound project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • changedInput schema / properties / args / description
      Previous value: -"Arguments for clone_project tool."New value: +"Arguments for cloning transferable configuration into the bound project."
    • changedInput schema / properties / args / properties / force / description
      Previous value: -"If True, bypass safeguards"New value: +"If True, allow replace mode (merge=False) when the bound project already has categories or collections. Ignored when merge=True."
    • changedInput schema / properties / args / properties / from_project / description
      Previous value: -"Source project name"New value: +"Source project name, or its exact <name>-<hash> configuration key when the name is ambiguous or to recover a hashless legacy record"
    • changedInput schema / properties / args / properties / merge / description
      Previous value: -"If True, merge with existing config; if False, replace"New value: +"If True, merge with the bound project's config; if False, replace it"
    • addedInput schema / properties / args / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id."
      +}
    • removedInput schema / properties / args / properties / to_project
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Target project name (if None, clones to current project)"
      -}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv1.3.2

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this is a mutating operation on the currently bound project, that replace mode destructively overwrites destination configuration, and that force=True is the guard against clobbering existing categories/collections. It does not mention permission or authorization requirements, failure behavior, or whether the operation is reversible, 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and mode-semantics paragraphs are front-loaded and earn their place, but the entire ## Arguments block duplicates structured schema fields at 100% coverage, adding length without information. The document is roughly twice as long as it needs to be.

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?

For a mutating, nested-argument tool with no annotations and no output schema, the description covers the essentials an agent needs to call it correctly: what transfers, how merge versus replace differ, and the force requirement. It omits return value and error behavior, which matters somewhat here since no output schema exists.

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%, and the description's Arguments section reproduces the schema property descriptions essentially verbatim rather than adding interpretation. The mode interaction between merge and force is explained, but that same text already lives in the schema. Baseline 3 applies when the schema does the heavy lifting and the description adds no net meaning.

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?

The description opens with a specific verb+resource ("Copy transferable configuration into the currently bound project") and immediately enumerates what transfers (categories, collections, project flags, allowed-write paths, additional-read paths) while stating that destination identity is preserved. This is clearly distinct from siblings like set_project or switch_project, which establish or select a project rather than copy configuration between them.

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

Usage Guidelines4/5

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

It gives explicit mode-selection guidance: merge mode lets source mappings win and source path lists replace destination lists, while replace mode copies everything. It also states the precondition for replace mode (the bound project must not already have categories or collections unless force=True). What's missing is any routing against sibling tools (e.g., when to clone versus applying config manually via category_collection_add or add_permission_path).

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