Skip to main content
Glama

Delegate task

delegate_task

Hand a task from one agent to another (both in this tenant). Required: to_agent_id. Optional: from_agent_id, task_todo_id, message. The receiving agent's own permissions still apply. Gated by the FROM agent's agent_tool_permissions when from_agent_id is passed.

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

A3.7/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, non-idempotent, non-destructive, non-open-world mutation. The description adds material beyond that: the tenant boundary, the fact that the receiving agent's own permissions still apply, and that the call is gated by the FROM agent's agent_tool_permissions when from_agent_id is supplied. It does not say what happens on permission failure or what the call returns, keeping it below a 5.

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?

Three short sentences, front-loaded with the purpose before the parameter and permission detail, with no filler. Minor waste in restating which parameters are required versus optional when the schema already encodes that, but the density is otherwise good.

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

Completeness4/5

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

For a four-parameter mutation with no output schema, the definition covers the essential calling contract: the required recipient, tenant scope, and the permission model governing the call. The main gap is outcome behavior — whether the task appears in the recipient's queue, what the caller gets back, and error conditions — which leaves it just short of fully complete.

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 0%, so the description carries the burden, and it only partially compensates. It adds real meaning for from_agent_id (the gating relationship to agent_tool_permissions) and for to_agent_id (the recipient, required), but task_todo_id and message are named without any explanation of what they link to or how the message is delivered. The required/optional enumeration largely restates the schema's own required list.

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 opens with a specific verb and resource: 'Hand a task from one agent to another (both in this tenant).' It scopes the operation to agents inside the same tenant, which an agent can act on. It stops short of distinguishing itself from any sibling, but no sibling in the listed catalog appears to overlap with agent-to-agent delegation, so differentiation is less critical here.

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 names the required parameter and the three optional ones, and it states the authorization precondition ('gated by the FROM agent's agent_tool_permissions'), which is genuinely useful context for deciding whether the call will succeed. However, it never says when to use this tool versus handling the work locally or via another mechanism, and gives no exclusions or failure guidance. Usage is implied by the purpose rather than spelled out.

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