Skip to main content
Glama
HandoffPilot MCP

HandoffPilot MCP

update_handoff

Append an explicit revision to a handoff snapshot with caller-provided expected head, state patch, and note to preserve context across assistant sessions.

Instructions

Append an explicit revision, using the caller-provided current head and upserts.

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": {
      "state": "<state>",
      "expected_head": "<expected_head>",
      "patch": "<patch>",
      "note": "<note>"
    },
    "name": "update_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYes
patchYes
stateYes
expected_headYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/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 hints at optimistic concurrency via 'caller-provided current head' and 'upserts' but does not explain stale-head failure behavior, what is replaced or preserved, whether the operation is idempotent, or what permissions are required. For a mutation tool with nested required objects, this is a significant gap.

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 definition is a single short sentence with no padding, so it is concise. However, its terseness comes at the cost of clarity: 'explicit revision' and 'upserts' are jargon that is not grounded in the handoff domain.

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?

This is a complex mutation with four required parameters, two nested objects, no annotations, no output schema, and zero schema descriptions. The description is far too thin to tell an agent what state it must supply, how the patch relates to state, or what to expect on success and conflict.

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 description coverage is 0%, so the description must compensate for four undocumented required parameters. It only partially clarifies 'expected_head' as the caller-provided current head and gestures at upsert behavior; it says nothing about 'state', 'patch', or 'note', leaving the nested object semantics opaque.

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 states an operation ('Append an explicit revision') and references caller-provided head data, but never names the resource ('handoff') or explains what a revision means in this context. It is a vague purpose rather than a clear verb+resource statement, and it does not distinguish itself from siblings like create_handoff or merge_handoffs.

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?

There is no explicit guidance on when to use update_handoff versus create_handoff, merge_handoffs, validate_handoff, or compare_handoffs. The description implies an update-with-concurrency operation but leaves selection and prerequisites entirely to inference.

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