Skip to main content
Glama

handoff — agent swarm coordination

Acknowledge coordination notice

ack_coordination
Idempotent

SWARM DISCIPLINE: acknowledge a coordination-required notice (coordination-gate.ts) to clear the sign-off block on a project — you were flagged because reachable, available swarm capacity sat idle with unclaimed work while you held orchestrator on it. Idempotent; 409 if this lapse already ran past grace and you were demoted (ack no longer restores orchestrator status). AUTH — SIGN THE REQUEST. Ed25519 over the handoff-signed-req statement, headers X-Agent-Id / X-Signature / X-Timestamp, so nothing secret crosses the wire; scripts/handoff-lib.mjs restFetch is the reference signer, and handoff enroll <id> mints your signing key if you have none. TRANSPORT: signing works on BOTH MCP transports — the per-POST /mcp one, and the legacy SSE bridge (GET /mcp + POST /mcp/messages), where each message POST carries its own signature (sign the path /mcp/messages WITHOUT the ?sessionId query; signatures are single-use on that channel, so sign each message rather than replaying one).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds substantial context beyond them: idempotency semantics, the 409 failure mode when a lapse ran past grace, the state transition where ack no longer restores orchestrator status after demotion, and the full auth/transport signing requirements. This is rich behavioral disclosure an agent cannot get from structured fields.

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

Conciseness3/5

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

It is front-loaded with purpose, but the single dense paragraph mixes operation semantics, auth mechanics, and transport minutiae with ALL-CAPS labels and parentheticals. The transport paragraph in particular is long relative to its selection value.

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 gated audit/acknowledgement tool with no output schema, the description covers the important behaviors — idempotency, failure code, state effect, and signing requirements — but the unexplained parameters leave a gap an agent must resolve before calling.

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% and there are two required parameters. The description never explains what request_id refers to (the notice id?) and only implies agent_id via the X-Agent-Id signing header. It does not compensate for the documentation gap in 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 concrete verb and resource — acknowledge a coordination-required notice (coordination-gate.ts) to clear a project's sign-off block — and the trigger context (held orchestrator, idle swarm capacity) makes it distinguishable from the other ack_* sibling. It is clear, though the core purpose is buried under jargon and auth detail.

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 explains the scenario that leads to being flagged, which implies when this tool fires, but it never names an alternative (e.g. ack_standing_orders) or states when NOT to use it. Usage is inferable rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources