Skip to main content
Glama

branch_chain

Destructive

Fork a chain when work splits so parallel branches can proceed; the parent chain stays incomplete until every branch finishes.

Instructions

Fork chain when work splits. Parent doesn't complete until all branches do.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the mutation profile is covered. The description usefully adds the lifecycle constraint that the parent chain will not complete until all branches finish, but says nothing about reversibility, permissions, or what gets created beyond the branch.

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 wasted words, stating the action first and the lifecycle consequence second. It is efficient though arguably under-elaborated for a destructive operation.

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?

An output schema exists, so return values need not be explained. But for a destructive mutation that forks a chain and blocks the parent's completion, the two-sentence description omits how branches are completed, whether siblings must all finish, and how to compose required fields like completion_vision and parent_chain_id.

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?

The description mentions no parameters, and the top-level 'params' wrapper carries no description (reported coverage 0%). However, the nested schema does document each field (parent_chain_id, title, completion_vision, etc.), so meaning is conveyed structurally rather than by the prose; the description neither compensates nor is strictly required here.

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?

The description states a specific verb and resource ('Fork chain') plus a trigger ('when work splits'), making the action clear. It does not differentiate from siblings like spawn_child_chain or create_chain, so an agent cannot tell which branching tool applies without inspecting schemas.

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

Usage Guidelines3/5

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

'when work splits' gives an implied usage condition, which is more than nothing. However, there is no explicit when-not guidance and no named alternative (spawn_child_chain, create_chain), leaving the routing decision to inference.

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