Skip to main content
Glama

copy_split_arm_tool

Destructive

DESTRUCTIVE for the target arm: replaces every step of one arm of an A/B split (sequenceStepId is the split's id) with copies of the other arm's steps, nested conditions and their lanes included (voice-note scripts are not copied), so the two arms can then differ in one step. fromBranchKey and toBranchKey are 'a' and 'b'. Only before the campaign starts. Only call after the user has confirmed replacing that arm's steps.

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": {
      "campaignId": "<campaignId>",
      "sequenceStepId": "<sequenceStepId>",
      "fromBranchKey": "<fromBranchKey>",
      "toBranchKey": "<toBranchKey>"
    },
    "name": "copy_split_arm_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdYes
toBranchKeyYesThe arm whose steps are replaced by the copies: the other arm.
fromBranchKeyYesThe arm to copy from: 'a' or 'b'.
sequenceStepIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Although annotations already declare destructiveHint=true and readOnlyHint=false, the description adds substantial context: it explains exactly what is replaced, that nested conditions and lanes are included, and that voice-note scripts are not copied. It also adds timing and explicit user-confirmation requirements, which go well beyond the annotations.

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?

The destructive warning and core purpose are front-loaded, and there is no filler. The first sentence is dense with nested clauses, and the branch-key sentence partly repeats the enum schema, so it is slightly less efficient than it could be.

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

Completeness5/5

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

For a destructive mutation with no output schema, the description covers what changes, what is excluded, when it may run, and the required user confirmation. No return-value explanation is needed because there is no output schema.

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

Parameters4/5

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

Schema description coverage is only 50%, and the key ambiguity is sequenceStepId, which the description correctly explains as the split's id. It also reinforces that fromBranchKey and toBranchKey are 'a' and 'b', though it does not add meaning for campaignId.

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 uses a specific verb and resource: it replaces every step of one arm of an A/B split with copies of the other arm's steps. It also clarifies the otherwise ambiguous sequenceStepId by stating that it is the split's id, so the agent can identify the target object 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?

It gives clear preconditions: only before the campaign starts, and only after the user has confirmed replacing that arm's steps. It does not name alternative tools or explicitly describe when to choose another approach, so it stops short of the top score.

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.