Skip to main content
Glama

run_parallel_agents

Run heterogeneous agent tasks concurrently by assigning each task an agent and prompt, enabling parallel delegation across Codex, Claude, Antigravity, and local workers.

Instructions

Run heterogeneous tasks concurrently; each task needs agent and prompt. Modes: codex read-only/workspace-write; claude read/edit/auto/manual/dontAsk; antigravity plan/accept-edits; local fast/workspace/workspace-write. Codex and Antigravity tasks accept team=true for built-in sub-agents.

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": "run_parallel_agents"
  }
}

Input Schema

NameRequiredDescriptionDefault
tasksYes
max_concurrencyNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the per-agent mode ladder (read-only vs workspace-write, plan/accept-edits, auto/manual/dontAsk) and the team=true sub-agent flag, which is real safety-relevant context. But it says nothing about failure handling, partial results when one task errors, how timeout_seconds interacts with long-running tasks, or what happens at max_concurrency limits.

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 the required item fields, then a compact mode roster. The mode list is dense and unpunctuated as a run-on, but every line carries information and there is no filler prose.

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?

With no annotations, no output schema, and 0% schema description coverage on a nested task array, the description should do more. It covers the task item shape and permission modes adequately but omits concurrency/timeout semantics and any statement of what the tool returns or how failures surface, which matters for a parallel-execution tool.

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% and the tasks array is a bare object with additionalProperties:true, so the description is the only documentation of the item shape — and it does name the two required keys, agent and prompt, plus the valid mode strings per agent family, which is genuinely useful given no enums exist in the schema. However, max_concurrency and timeout_seconds are never mentioned, leaving 2 of 3 top-level parameters documented only by their titles and defaults.

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 first clause gives a specific verb and scope: run heterogeneous tasks concurrently. Combined with the sibling set (delegate_codex, delegate_claude, delegate_local_agent, start_agent_job), an agent can infer this is the fan-out variant rather than a single delegation, though the description never names a sibling explicitly.

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?

"Concurrently" and "heterogeneous" imply the use case (multiple different agents in one shot), but there is no explicit when-to-use versus delegate_* or start_agent_job, no guidance on batching versus sequential delegation, and no stated exclusions or prerequisites.

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