Skip to main content
Glama

handoff — agent swarm coordination

Spin out into project

spin_out_node
Destructive

SPIN OUT: a GOAL or TASK leaves its project to become a PROJECT of its own (the inverse of nesting a project as a goal). A goal's tasks come along as loose tasks; a task's subtasks come up to be loose tasks. The new project keeps the same requester, owner, security, leader and chain of command; its budget is the goal's budget or the task's own payment. Rejects settled/submitted work and a task someone is working on. Requester-gated on the source project. 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
node_idYesthe GOAL or TASK to turn into its own project
tier0_approvalNoBase64 X-TIER0-APPROVAL (create_project, bound to the requester and the carried budget) — only when the broker runs the Tier-0 action gate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true): it discloses exactly what is carried over (tasks become loose tasks, subtasks rise to loose tasks), what is preserved (requester, owner, security, leader, chain of command), how budget is derived, and the rejection conditions. It also documents the mandatory Ed25519 request signing and per-transport behavior, which an agent cannot infer from the schema.

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?

Front-loaded with the core semantics, then clearly sectioned (SPIN OUT / AUTH / TRANSPORT), so it is easy to scan. The transport paragraph is heavy for a two-parameter tool and repeats detail that is generic to all signed tools, but every section is still actionable.

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

Completeness5/5

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

For a destructive, auth-gated mutation with no output schema, it covers what the tool does, what it rejects, who may call it, and how to sign the request. Nothing an agent needs in order to invoke it correctly is missing.

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 100% and both parameters are already documented in the schema, so the baseline is 3. The description adds behavioral context (requester-gating, the carried budget behind tier0_approval) but no syntax or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('a GOAL or TASK leaves its project to become a PROJECT of its own') and immediately contrasts it with the inverse operation (nesting a project as a goal), so an agent can distinguish it from set_node_parent and set_hierarchy without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear preconditions and exclusions: 'Rejects settled/submitted work and a task someone is working on' and 'Requester-gated on the source project.' The inverse-of-nesting framing implies the alternative but never names a sibling tool to use instead, so it stops short of explicit routing.

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