Skip to main content
Glama
HandoffPilot MCP

HandoffPilot MCP

merge_handoffs

Merge two handoff revision histories when they fast-forward compatibly, and reject diverging branches to preserve valid context lineage.

Instructions

Fast-forward compatible revision histories; reject diverging branches.

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": {
      "left": "<left>",
      "right": "<right>"
    },
    "name": "merge_handoffs"
  }
}

Input Schema

NameRequiredDescriptionDefault
leftYes
rightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a genuine behavioral trait beyond any structured field: the operation only succeeds on fast-forward compatible histories and fails on divergence. It does not say whether this mutates stored state, what is returned on success, or how the rejection surfaces to the caller, leaving read/write and safety profile ambiguous.

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 clause with zero filler and no redundancy. It is efficient, but the brevity crosses into under-specification rather than disciplined concision.

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?

For a tool with two free-form nested object parameters, no annotations, and no output schema, one sentence is not enough. Critical facts are absent: what the inputs must contain, whether the merge writes persisted state, and what the caller receives. The divergence rule is the only substantive content.

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

Parameters2/5

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

Schema coverage is 0% and both parameters are untyped nested objects with additionalProperties=true, so the schema provides essentially no semantics. The description only obliquely implies that left/right are revision histories; it does not specify whether they are full handoff objects, identifiers, or pointers, nor any required shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys merge semantics ('Fast-forward compatible revision histories') but never states that it merges two handoffs specifically, nor what entity 'left' and 'right' represent. It is distinguishable from siblings like compare_handoffs only by implication of the name, not by the text. Purpose is inferable but vague.

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?

'Reject diverging branches' hints at a precondition (histories must be fast-forward compatible), which is a useful eligibility rule. However, there is no explicit when-to-use guidance, no named alternative for the diverging case (e.g. compare_handoffs), and no statement of prerequisites or required state.

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