Skip to main content
Glama

delegate

Runs independent parts of a task in parallel: assign each sub-agent its own app or site to look things up, then collect their reports to gather facts from multiple places at once.

Instructions

Hand parts of a task to sub-agents that work at the same time, and get their reports back: for work that splits into independent parts in different apps or sites (compare a price in three shops, gather facts from several places). Each sub-agent is an agent like you with the phone tools, on a hidden screen of its own, so the user keeps their screen and you keep yours. Sub-agents only look things up: they can't send, post, buy, delete, change settings or ask the user, so do those steps yourself afterwards. Give each a different app or site (an app can only be open in one place) and a task that stands on its own: a sub-agent knows nothing of this conversation. The call waits for the reports (up to 8 minutes; then subagents gives the rest). When you have a part of your own to do meanwhile (in another app), pass wait false: the sub-agents start, you work at the same time, and subagents collects their reports when you are done. Give as many tasks as the work has parts: they all start at once. Each sub-agent uses the user's plan as you do, so don't delegate what you can do quickly yourself, and never a step whose result you need before you can go on: a lone sub-agent you only wait for is slower than doing it yourself.

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": {
      "tasks": "<tasks>"
    },
    "name": "delegate"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoDefault true: wait here for the reports. False: return at once, so you can work on your own part at the same time; call subagents afterwards.
tasksYesOne per sub-agent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.13

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, and the description carries the full burden well: sub-agents are read-only (no send, post, buy, delete, settings, or asking the user), run on a hidden screen, consume the user's plan, use the user's plan quota, and are capped at 8 minutes before subagents returns the rest. Concurrency constraints (one app open in one place) and the no-shared-context rule are also disclosed.

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?

Front-loaded with the core action and scoped well, with every sentence contributing behavior, constraint, or routing information. It is dense and the final clause runs long, but little is wasted.

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 complex orchestration tool with no annotations and no output schema, the description covers capability, concurrency model, timeout and fallback, cost implications, sub-agent limitations, and failure guidance. An agent has enough to decide whether and how to call it.

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% and the schema already documents wait and tasks, so the baseline is 3; the description earns more by explaining the concurrency rationale for wait=false and the constraint that each task must target a different app/site and stand alone, which the schema does not state.

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?

Opens with a specific verb and resource: hand parts of a task to concurrent sub-agents and get reports back. The parenthetical examples (compare a price in three shops, gather facts from several places) make the capability concrete and distinguish it from ask and subagents.

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?

Explicit when-to-use (work that splits into independent parts across different apps or sites) and when-not (don't delegate quick self-work, never a step whose result you need before continuing, a lone sub-agent you only wait for is slower). It also routes the agent to siblings: subagents for collecting reports and doing write/ask steps yourself.

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