Skip to main content
Glama

Delegate task

delegate_task

Hand a task to another of the owner's agents. The target agent's own tool/category permissions still apply — delegation can't launder capability.

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": {
      "to_agent_id": "<to_agent_id>"
    },
    "name": "delegate_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNo
to_agent_idYes
task_todo_idNo
from_agent_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already cover the safety profile (not read-only, not destructive, not idempotent, closed-world), so the description doesn't need to repeat it. It does add genuinely useful behavior: the target agent's own tool/category permissions still apply, so delegation cannot escalate privileges. It omits what happens after the handoff — whether the task is queued, whether the caller waits, and what is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, no filler, with the core action stated first and the caveat second. Every sentence carries distinct information.

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

Completeness2/5

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

For a four-parameter mutation tool with zero schema descriptions and no output schema, this is thin. The agent knows what the tool does conceptually and that permissions are enforced, but not what each argument means, whether the call is synchronous, or what a successful result looks like.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate and largely does not. "Another of the owner's agents" loosely maps to to_agent_id, but message, task_todo_id, and from_agent_id are never explained — an agent cannot tell whether message is the task content, a note, or a callback channel, nor whether from_agent_id is inferred or must be set.

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?

"Hand a task to another of the owner's agents" gives a specific verb (hand off) and resource (task), plus the scope that the recipient is another agent owned by the same owner. That is enough to distinguish it from create_task/update_task, which operate on tasks directly rather than routing them to another agent.

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?

The description implies use when work should be routed to a different agent, and the constraint sentence hints at why you'd choose a capable recipient. But it never states when-not to delegate, whether this blocks or is asynchronous, or what alternatives exist for simply creating a task.

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