Skip to main content
Glama

handoff_check

Waits up to 25 seconds for a recipient's real accept, refuse, or clarification decision, then refreshes the handoff receipt. Repeated checks remain bounded and avoid resending unknown deliveries.

Instructions

Wait at most 25 seconds for a real recipient decision and refresh the receipt. Continue bounded checks for pending, never resend unknown delivery.

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": {
      "id": "<id>"
    },
    "name": "handoff_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
waitSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is largely covered. The description adds genuinely useful behavior beyond that: the wait is capped at 25 seconds, checks are bounded, and an unknown delivery state must never be resent - a meaningful guardrail for a non-idempotent call.

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 short sentences, front-loaded with the wait-and-refresh action followed by the safety constraint. Dense but purposeful; only the compressed phrasing ('real recipient decision') costs a little clarity.

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?

There is no output schema, so the description should explain what a check returns, yet it only gestures at 'refresh the receipt' without saying whether the agent gets a decision, a status enum, or a receipt payload. Combined with 0% schema coverage on the required id parameter, an agent lacks enough to interpret results or construct the call confidently.

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 carry parameter meaning. It conveys waitSeconds semantics well ('wait at most 25 seconds'), matching the schema maximum, but says nothing about the required `id` - whether it is a handoff id, receipt id, or conversation id - leaving the one required parameter undefined.

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 names concrete actions (wait for a recipient decision, refresh the receipt) but relies on unexplained domain jargon ('real recipient decision', 'receipt', 'delivery') and offers no differentiation from the similarly-scoped handoff_status sibling. An agent can infer this is a bounded poll-and-refresh call, but not precisely what a 'check' resolves to.

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?

It gives implied usage conditions: use it to continue bounded checks while a handoff is pending, and never trigger a resend when delivery state is unknown. That is real conditional guidance, but no alternative tool (e.g. handoff_status or handoff_send) is named as the path for the non-pending cases.

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