Skip to main content
Glama

agent_peer_delegate

Delegates an objective to a connected peer agent for autonomous background execution and returns a task_id immediately for progress monitoring.

Instructions

Delegate an objective to the connected peer agent for autonomous background execution. Asynchronous dispatch that returns a task_id immediately. Inbound tasks are evaluated against the peer's authorization policy. Monitor execution progress using agent_peer_task_status.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "objective": "<objective>"
    },
    "name": "agent_peer_delegate"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoBackground details, file paths, code snippets, or operational constraints
task_idNoUnique task identifier (auto-generated if omitted)
objectiveYesThe actionable task or job for the connected peer agent to execute
timeout_secNoTimeout in seconds for remote task execution (defaults to 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • changedInput schema / properties / context / description
      Previous value: -"Background details, file paths, code snippets, or constraints"New value: +"Background details, file paths, code snippets, or operational constraints"
    • changedInput schema / properties / objective / description
      Previous value: -"The task or job to the connected peer agent for execution"New value: +"The actionable task or job for the connected peer agent to execute"
    • changedInput schema / properties / timeout_sec / description
      Previous value: -"Timeout in seconds for task execution (defaults to 60)"New value: +"Timeout in seconds for remote task execution (defaults to 60)"
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the important traits: async dispatch, an immediate task_id return, and that inbound tasks are checked against the peer's authorization policy. It is silent on what happens when authorization fails, whether the call is idempotent, retry semantics, and what a completed or failed task looks like, which matters for an autonomous remote-execution tool.

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?

Four short sentences, front-loaded with the core action and immediately followed by the return behavior and the monitoring path. The authorization-policy sentence is slightly ambiguous ('inbound tasks' relative to which side) but still earns its place as a precondition note.

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

Completeness3/5

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

For a four-parameter remote-execution tool with no annotations and no output schema, the description covers the lifecycle entry point and the monitoring handoff. It leaves the agent without enough information about failure handling, task_id reuse, and what the immediate return contains beyond the identifier.

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%, so the schema already documents all four parameters, and the baseline is 3. The description clarifies that task_id is produced by dispatch and that the call returns immediately, but it does not explain the meaning of supplying task_id as an input (resume vs. new task vs. idempotency key) or how context/timeout interact with remote execution.

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 uses a specific verb+resource ('Delegate an objective to the connected peer agent') and states the execution mode ('autonomous background execution', 'asynchronous dispatch'). It distinguishes itself from the monitoring siblings by pointing at agent_peer_task_status, though it does not explicitly contrast with agent_peer_consult or agent_peer_send.

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 clear context for when to use it (fire off an objective and let the peer run it in the background) and routes the agent to agent_peer_task_status for follow-up. It does not state when NOT to use it, e.g. versus a synchronous consult or a simple message send.

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