Skip to main content
Glama

synapse_handoff_task

Transfer ownership of a task and its file locks to another agent, with notes on completed work, remaining steps, and test instructions for continuation.

Instructions

Hand off a task you own and its file locks to another agent (e.g. Antigravity -> Claude Code for test runs). The notes are shown to the receiver in synapse_get_tasks.

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": {
      "from_agent": "<from_agent>",
      "to_agent": "<to_agent>",
      "task_id": "<task_id>",
      "handoff_notes": "<handoff_notes>"
    },
    "name": "synapse_handoff_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesID of the task to hand off
to_agentYesTarget agent to take over (e.g. 'claude-code', 'antigravity', 'codex')
from_agentYesAgent initiating the handoff (must be the current task owner)
handoff_notesYesWhat was already completed, what remains to be done, and test instructions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, closed-world, so the bar is lower. The description still adds real behavior: file locks transfer with the task, and the notes become visible to the receiver via synapse_get_tasks — context an agent could not derive from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the core action and its side effect (lock transfer) front-loaded before the secondary note about receiver visibility.

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

Completeness4/5

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

For a mutation tool with full schema coverage and annotations covering the safety profile, this is nearly complete: it explains the ownership requirement, the lock transfer, and where the notes surface. It omits what happens if the target agent is unavailable or whether the receiver must accept, which are minor 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 coverage is 100%, so all four parameters are already documented, including the from_agent ownership constraint. The description adds only the downstream visibility of handoff_notes, which is a modest increment over the schema's own wording.

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?

States a specific verb and resource ('hand off a task you own and its file locks') plus a concrete example of the agent-to-agent scenario. The action is clearly distinct from claim/release siblings, though no sibling is named explicitly.

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 phrase 'a task you own' implies the ownership precondition, and the Antigravity -> Claude Code example gives a usage context. However, it never says when NOT to use it or points to an alternative (e.g., release_task if you just want to drop the task), leaving routing to inference.

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