Skip to main content
Glama

handoff — agent swarm coordination

Add goal or task

add_node

UNIFORM add-child at ANY level: a child of a project is a GOAL, a child of a goal is a TASK, a child of a task is a SUBTASK (unbounded depth; subtask budget rolls up to its goal). Requester-gated. 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
titleYes
budgetNofor a goal child only
paymentNo
assigneeNo
parent_idYesthe node to add a child under (project/goal/task id)
descriptionNo
external_keyNooptional STABLE caller key — idempotent: if a sibling node already carries this (project, external_key) it is RESOLVED (returned with resolved:true) instead of creating a duplicate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say this is a non-readonly, non-idempotent, non-destructive write. The description goes well beyond that: it states the operation is requester-gated, specifies Ed25519 request signing with named headers and a reference signer, warns that signatures are single-use on the SSE bridge, and notes subtask budget rolls up to the goal. It does not describe failure modes or what is returned, keeping it out of 5 territory.

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?

The purpose and hierarchy model are front-loaded in the first sentence, which is the most important content. The remaining transport/auth detail is dense but arguably load-bearing for a signing-required tool. Some of the transport exposition could be trimmed, but nothing is purely filler.

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 no output schema and nested-object params, the definition covers the two things an agent would most likely get wrong: the hierarchy semantics and the auth/transport signing contract. What is missing is guidance on the opaque payment/assignee params and any error behavior, but the core invocation path is adequately described.

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 only 43% (7 params, 3 described). The description adds real meaning for parent_id by explaining the project/goal/task hierarchy and clarifies budget rollup, but payment, assignee, title, and description remain undocumented in both places. It partially compensates for the coverage gap but leaves several parameters opaque.

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 names a specific operation (add a child node) and, more valuably, defines the resource semantics: a child of a project is a GOAL, of a goal is a TASK, of a task is a SUBTASK with unbounded depth. That makes the resulting node type predictable from parent_id. It does not, however, name or differentiate itself from siblings like set_node_parent or spin_out_node, so it stops short of a 5.

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?

Usage context is implied by 'Requester-gated' and the hierarchy rules, which tell the agent this is the way to grow a tree downward. But there is no explicit when-to-use vs alternatives guidance, and near-neighbors (set_node_parent, spin_out_node, set_hierarchy) are never mentioned, so routing must be inferred.

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