Skip to main content
Glama

peer_handoff

Record and read lightweight implementation handoff notes when switching between Antigravity and Claude Code, keeping active dev context separate from planning sessions.

Instructions

Record or read lightweight implementation handoff notes when alternating between Antigravity and Claude Code on individual tasks. Stored separately from planning messages in the same project room so resetting a planning session never wipes active dev handoffs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "peer_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNoOptional explicit room name override (e.g. "auth-refactor"). If omitted, derived from project_path or falls back to "default".
taskNoShort task title or summary (required when action="post").
limitNoMax handoffs to return when action="history" (default: 10, max: 50).
notesNoOptional extra context or verification command output.
actionNo"latest" (default) returns the most recent handoff; "post" records a new handoff; "history" lists recent handoffs; "clear" clears handoffs in this room.
blockersNoAny open questions, failing tests, or blockers.
completedNoList of what was completed in this turn.
next_stepsNoConcrete next steps for the next agent picking up the work.
project_pathNoOptional absolute path to the current workspace or repo. Automatically walks up to the git root and derives a deterministic per-project room ID so both agents share the same room.
files_touchedNoList of repo-relative or absolute file paths created/modified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses storage semantics: handoffs are kept separately from planning messages and survive planning-session resets. However, it does not disclose that action='clear' destroys stored handoffs, nor does it describe return format, permissions, or whether handoffs are shared across users.

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 sentences, both front-loaded with the core purpose and the storage guarantee. No filler or repetition. Slightly compressed for a ten-parameter, four-action tool, but every sentence earns its place.

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

Completeness3/5

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

For a tool with ten parameters, four actions, no annotations, and no output schema, the description is thin. It covers the conceptual purpose and storage model well, but omits destructive 'clear' behavior and gives no sense of what latest or history return. Adequate but with clear gaps.

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?

Schema description coverage is 100%, so the schema already documents all ten parameters, including the action enum and room derivation. The description adds only the concept of a shared 'project room' that persists across sessions, which lightly contextualizes room and project_path but does not add syntax or format detail beyond the schema.

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: 'Record or read lightweight implementation handoff notes.' It also names the operating context (alternating between Antigravity and Claude Code on individual tasks). It does not name any sibling tool, so an agent must infer how this differs from peer_exchange or peer_inbox from the 'stored separately from planning messages' hint alone.

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?

The usage context is implied rather than stated as an explicit rule: handoff notes are for when agents alternate on individual tasks. The description does not say when to prefer this over peer_exchange or peer_inbox, and it leaves the choice among latest/post/history/clear to the schema enum. The storage rationale ('resetting a planning session never wipes active dev handoffs') gives a reason to use the tool but not an explicit when-not condition.

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