Skip to main content
Glama

handoff_prepare

Collects the current chat's task context into a stable, reusable record so an agent can stage a transfer to another conversation. Defaults to acknowledge-only; continues only when the user requests it.

Instructions

From the current chat, collect full relevant task context with a stable taskKey. Same source/project/taskKey reuses its task ID. Default acknowledge-only; continue only when user requests actual transfer. No manual form.

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": {
      "title": "<title>",
      "goal": "<goal>",
      "projectPath": "<projectPath>",
      "source": "<source>"
    },
    "name": "handoff_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
modeNoacknowledge-only
titleYes
sourceYes
taskKeyNo
evidenceNo
completedNo
decisionsNo
remainingNo
constraintsNo
projectPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations cover the safety triangle (readOnlyHint=false, destructiveHint=false) but the description adds the meaningful claim that identical source/project/taskKey pairs reuse the existing task ID, which is real behavioral context an agent could not get from the annotations. However, that reuse claim sits in mild tension with idempotentHint=false, and the description never says what the acknowledge-only path actually does (create/update a task record) or what side effects continue mode triggers.

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?

Four short sentences, front-loaded with the purpose before the dedupe rule and the mode default, with no filler. The trade-off is over-compression: phrases like "No manual form" are cryptic on first read.

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 an 11-parameter write tool with a nested object, four required fields, an enum, and no output schema, the description is far too thin. It leaves the eight context-collection array/string parameters and the return shape unexplained, so an agent cannot confidently populate the payload from this definition alone.

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% across 11 parameters including a nested source object, so the description carries the full burden and mostly does not. It explains only taskKey, the project/source reuse semantics, and the mode enum default; title, goal, projectPath, evidence, completed, decisions, remaining, constraints, and the source.adapter/adapter enum are entirely undocumented anywhere.

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?

Names a specific action ("collect full relevant task context") scoped to "the current chat" and tied to a stable taskKey, and implies the output is a task ID via "reuses its task ID". It is clear what the tool does at a high level, though it never explicitly positions itself against siblings like handoff_supplement or handoff_preview.

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?

"Default acknowledge-only; continue only when user requests actual transfer" is an explicit when/when-not rule that an agent can act on directly, and "No manual form" signals the context is inferred rather than supplied by the user. It stops short of naming any alternative tool or stating prerequisites, so it is clear context without full routing.

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