Skip to main content
Glama

clone_cell

Duplicates a block with all its contentBlocks (and kindMetadata for arch/process/journey/captable, and the fields/source for entity/data-source) under a new parent. Structural dependency auto-created only for blocks with kind='org'. The children and assignments are NOT cloned. The link to a linked project (projectLink) is NOT copied either — a project link stays an explicit action (link_project_to_cell), and not a side effect of cloning. A child is cloned by its own clone_cell call.

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": {
      "sourceId": "<sourceId>",
      "newId": "<newId>"
    },
    "name": "clone_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
newIdYesUnique ID for the new block
newNameNoNew name (default: `Copie de {name}`, in French)
sourceIdYesID of the block to duplicate
newParentIdNoID of the parent for the copy (default: same parent as the source)
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).
confirmRootPlacementNo⚠️ Required (true) ONLY if the project has locked its root placement (Settings) AND the clone is born WITHOUT a parent (newParentId omitted with a root source, or newParentId explicitly null): without it, the creation of this NEW root is refused. Not applicable if the root placement is not locked, or if an actual newParentId applies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed6 schema fields changed
    • changedInput schema / properties / confirmRootPlacement / description
      Previous value: -"⚠️ Requis (true) UNIQUEMENT si le projet a verrouillé son placement racine (Réglages) ET que le clone naît SANS parent (newParentId omis avec une source racine, ou newParentId explicitement null) : sans lui, la création de cette NOUVELLE racine est refusée. Sans objet si le placement racine n'est pas verrouillé, ou si un newParentId réel s'applique."New value: +"⚠️ Required (true) ONLY if the project has locked its root placement (Settings) AND the clone is born WITHOUT a parent (newParentId omitted with a root source, or newParentId explicitly null): without it, the creation of this NEW root is refused. Not applicable if the root placement is not locked, or if an actual newParentId applies."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / newId / description
      Previous value: -"ID unique pour la nouvelle cellule"New value: +"Unique ID for the new block"
    • changedInput schema / properties / newName / description
      Previous value: -"Nouveau nom (défaut: 'Copie de {nom}')"New value: +"New name (default: `Copie de {name}`, in French)"
    • changedInput schema / properties / newParentId / description
      Previous value: -"ID du parent pour la copie (défaut: même parent que source)"New value: +"ID of the parent for the copy (default: same parent as the source)"
    • changedInput schema / properties / sourceId / description
      Previous value: -"ID de la cellule à dupliquer"New value: +"ID of the block to duplicate"
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description goes well beyond by disclosing side effects the agent could not otherwise predict — which content is copied, that children/assignments are skipped, and that a structural dependency is auto-created only for kind='org'. It does not describe the mutation's permissions or reversibility, so not 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.

Conciseness4/5

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

Front-loads the core action and then sequences the exclusions in short, scannable sentences. Slightly dense with nested parentheticals enumerating kinds, but every sentence carries behavioral information rather than restating the name.

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 6-parameter mutation with no output schema, the description covers the semantics an agent most needs: what is copied, what is not, and which operation handles the excluded case. What remains unstated — return value shape and error behavior on ID collisions — is minor for this tool class.

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 every parameter including the tricky confirmRootPlacement refusal condition is already documented in the schema. The description reinforces the meaning of newParentId ("under a new parent") but adds no syntax, format, or constraint detail beyond what the schema states; baseline 3 applies.

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 and resource ("Duplicates a block with all its contentBlocks") and immediately scopes the behavior by kind (arch/process/journey/captable/entity/data-source), which distinguishes it from add_cell and add_content_block. An agent can tell it is a deep-copy operation rather than a creation operation without opening the schema.

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?

Gives explicit when-not guidance: children and assignments are NOT cloned, the projectLink is NOT copied, and "a project link stays an explicit action (link_project_to_cell)" — naming the sibling that owns that job. It stops short of stating the positive case against add_cell (i.e., use clone_cell rather than re-creating blocks manually), so it is not a full when/when-not/alternatives triple.

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.