Skip to main content
Glama

handoff_route

Read-onlyIdempotent

Locate an existing task binding or receipt, or return candidate chats for the source agent to compare. Route a prepared task only after confirming recipient identity, never by title alone.

Instructions

Find the existing task binding or receipt; otherwise return candidate chats for the source agent to compare. Same-client routing excludes source and fails on unverified identity. Never send based on title alone.

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": {
      "taskId": "<taskId>"
    },
    "name": "handoff_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNoworkbuddy
taskIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description does add real value beyond that – it describes the two possible return shapes (binding/receipt vs. candidate chats) and failure modes (same-client routing excludes source, unverified identity fails) – but it omits what "unverified identity" means operationally and how the caller should handle each outcome.

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?

Three tight sentences, front-loaded with the primary behavior and followed by constraints. Dense but no filler; the only cost is that the telegraphic phrasing ("fails on unverified identity") pushes interpretation work onto the reader.

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?

With no output schema, the description is responsible for explaining return values, and it does so only at a high level (binding vs. candidate list). For a routing tool with an enum parameter and identity-verification edge cases, an agent would still need to consult sibling tools or trial-and-error to know what target does and what to do after receiving candidates.

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 carries the full burden, yet it never mentions taskId or the target enum (workbuddy/claude/codex). "Source agent" and "same-client routing" hint at target selection but give no mapping to the enum values or to the UUID requirement, leaving both parameters semantically undefined.

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 uses a specific verb ("Find") against a concrete resource ("the existing task binding or receipt") and describes the fallback outcome (returning candidate chats). It differentiates the tool from send/prepare siblings by framing it as a lookup/route step, though jargon like "task binding" is left undefined.

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?

Guidance is implied rather than explicit: "Never send based on title alone" and "return candidate chats for the source agent to compare" sketch a decision workflow, but the description never states when to call handoff_route versus handoff_check, handoff_prepare, or handoff_status. The user must infer the pre-send positioning.

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