Skip to main content
Glama

handoff — agent swarm coordination

Move goal or task

set_node_parent
DestructiveIdempotent

CROSS-HIERARCHY MOVE within a project: move a GOAL or TASK onto a new parent. Target a GOAL → it becomes a top-level task of that goal; target a TASK → it becomes that task's subtask; target the PROJECT id → a task comes UP to become a goal of the project. A goal moved under a goal/task becomes a task (its tasks become subtasks). goal_id cascades to the whole subtree and budget is re-checked at the destination. A node that changes kind gets a new id (the old one 410s with moved_to). Rejects cycles, settled/submitted work, a task someone is working on becoming a container, and cross-project targets. To leave the project entirely use spin_out_node. 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
node_idYesthe GOAL or TASK to move
new_parent_idYesthe destination GOAL or TASK id, or the PROJECT id to promote a task to a goal (same project)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (destructive=true, idempotent=true, readOnly=false), but the description goes well beyond them: id changes on kind-change with the old id returning 410 moved_to, goal_id cascading to the whole subtree, budget re-checking at the destination, and requester-gated auth with the exact signing scheme. This is rich behavioral context the annotations cannot convey.

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 core move semantics and constraints are front-loaded in dense, high-value sentences. The trailing AUTH/TRANSPORT block is accurate and necessary (signing is mandatory) but runs long with SSE-bridge and query-string minutiae that could be trimmed or deferred to a linked doc.

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?

There is no output schema, and the description compensates by covering mutation semantics, rejection cases, id churn, cascading effects, and required auth. Nothing an agent needs to invoke this tool correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, and the description adds real meaning beyond the schema fields by explaining what each destination type does to the node's kind ('target a GOAL → it becomes a top-level task', 'target the PROJECT id → a task comes UP to become a goal'). It stops short of documenting id formats or how to discover valid ids.

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?

Starts with a specific verb+resource ('CROSS-HIERARCHY MOVE within a project: move a GOAL or TASK onto a new parent') and enumerates the three destination semantics. It explicitly names the sibling to use for the adjacent case ('To leave the project entirely use spin_out_node'), so an agent can distinguish it without opening other schemas.

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

Usage Guidelines5/5

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

Gives concrete when-to-use conditions for each target type (GOAL, TASK, PROJECT id) and an explicit alternative (spin_out_node) for leaving the project. It also states exclusion conditions (rejects cycles, settled/submitted work, cross-project targets), which is exactly the routing guidance an agent needs.

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