Skip to main content
Glama

handoff — agent swarm coordination

Promote into project

promote_to_project
Destructive

PROMOTE: 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). (Old name: spin_out_node.)

Input 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. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (destructive, non-idempotent, closed-world), and the description adds substantial context beyond them: child cascade semantics (goal's tasks become loose tasks, subtask promotion), inheritance of requester/owner/security/leader/chain-of-command and budget, and the rejection conditions. For a destructive mutation this is exactly the extra disclosure an agent needs.

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?

Purpose and cascade effects are front-loaded before the auth/transport detail, and the AUTH and TRANSPORT sections are dense but justified for a signed, multi-transport operation. The transport discussion is lengthy relative to the core action, keeping it slightly short of maximally tight.

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, requester-gated, signed mutation with two parameters and no output schema, the description covers semantics, side effects, prerequisites, rejection rules, and full authentication/transport mechanics. An agent has everything required to call it correctly.

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 documented in the schema itself, including the tier0_approval conditional. The description reinforces the node_id target ('the GOAL or TASK to turn into its own project') and budget carry-over but adds little syntax or format detail beyond the schema, so the baseline 3 applies.

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?

The description names a specific verb+resource and scope: a GOAL or TASK leaves its project to become a PROJECT of its own, and explicitly characterizes it as 'the inverse of nesting a project as a goal'. The 'Old name: spin_out_node' note even disambiguates it against the sibling still listed as spin_out_node.

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?

It gives concrete when-not conditions ('Rejects settled/submitted work and a task someone is working on') and a prerequisite ('Requester-gated on the source project'), which is stronger than most tools. However, it never names the actual alternative tool for the inverse (nesting a project as a goal), so the routing is implied 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