Skip to main content
Glama
claude-agy-mcp
by PyModel

delegate_many

Fan one prompt out to multiple models for a council and disagreement report, or send several sub-tasks to one model, queued under a shared concurrency cap.

Instructions

Fan one question out to several models at once (a council, with a disagreement report), or fan several sub-tasks out to one model. Runs behind the same concurrency cap as everything else, so it queues rather than stampedes the shared quota.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delegate_many"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoAbsolute path to the working directory / project root. Defaults to the server's cwd.
dirsNoExtra directories to add to agy's workspace, for cross-repo or worktree-vs-base analysis.
modelNoOverride the model. Accepts a display name ("Gemini 4 Neon (High)"), an id ("gemini-4-neon-high"), or a family selector ("gemini-neon@latest-high"). Normally omit — the tool routes automatically.
tasksNoSeveral prompts to run, each as its own delegation (at most 8).
effortNoReasoning tier supported by the selected model in `agy models`. A family selector can choose its listed sibling at this tier. An exact model ID or label fixes the variant: a conflicting effort is rejected. xhigh/max require a listed variant.
modelsNoModels to ask with `prompt` (at most 8). Defaults to a Flash/Pro/Opus council.
promptNoOne prompt to send to every model in `models`.
slash_commandsNoLet agy expand your slash commands and skills into the prompt. Off by default: a hostile file in the workspace can otherwise steer the delegated model.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.0
    • changedInput schema / properties / effort / description
      Previous value: -"Reasoning tier. Gemini models carry their tier in the name, so this switches to the sibling model at that tier (Flash (High) -> Flash (Medium)); agy's own --effort flag only reaches models without a tier. Defaults to the user's set_model choice, else the tool's own tier."New value: +"Reasoning tier supported by the selected model in `agy models`. A family selector can choose its listed sibling at this tier. An exact model ID or label fixes the variant: a conflicting effort is rejected. xhigh/max require a listed variant."
    • changedInput schema / properties / effort / enum
      Previous value: -[
      -  "low",
      -  "medium",
      -  "high"
      -]New value: +[
      +  "low",
      +  "medium",
      +  "high",
      +  "xhigh",
      +  "max"
      +]
    • changedInput schema / properties / model / description
      Previous value: -"Override the model. Accepts a display name (\"Gemini 3.8 Flash (High)\"), an id (\"gemini-3.8-flash-high\"), or a family selector (\"gemini-pro@latest-high\"). Normally omit — the tool routes automatically."New value: +"Override the model. Accepts a display name (\"Gemini 4 Neon (High)\"), an id (\"gemini-4-neon-high\"), or a family selector (\"gemini-neon@latest-high\"). Normally omit — the tool routes automatically."
  2. Changed17 schema fields changedv3.1.0
    • addedInput schema / properties / cwd / minLength
      Added value: +1
    • addedInput schema / properties / dirs / items / minLength
      Added value: +1
    • addedInput schema / properties / dirs / maxItems
      Added value: +256
    • addedInput schema / properties / model / maxLength
      Added value: +512
    • addedInput schema / properties / model / minLength
      Added value: +1
    • addedInput schema / properties / model / pattern
      Added value: +"^[^-]"
    • changedInput schema / properties / models / description
      Previous value: -"Models to ask. Defaults to a Flash/Pro/Opus council when `prompt` is used, and to the automatic route when `tasks` is used."New value: +"Models to ask with `prompt` (at most 8). Defaults to a Flash/Pro/Opus council."
    • addedInput schema / properties / models / items / maxLength
      Added value: +512
    • addedInput schema / properties / models / items / minLength
      Added value: +1
    • addedInput schema / properties / models / items / pattern
      Added value: +"^[^-]"
    • addedInput schema / properties / models / maxItems
      Added value: +8
    • addedInput schema / properties / models / minItems
      Added value: +1
    • addedInput schema / properties / prompt / pattern
      Added value: +"\\S"
    • changedInput schema / properties / tasks / description
      Previous value: -"Several prompts to run, each as its own delegation."New value: +"Several prompts to run, each as its own delegation (at most 8)."
    • addedInput schema / properties / tasks / items / pattern
      Added value: +"\\S"
    • addedInput schema / properties / tasks / maxItems
      Added value: +8
    • addedInput schema / properties / tasks / minItems
      Added value: +1
  3. Addedv2.1.0

TDQS

A3.8/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 behavioral burden. It usefully discloses that calls share a concurrency cap and queue rather than stampede the quota, and that the council mode produces a disagreement report. It does not address cost implications of fanning to up to 8 models, workspace write behavior, or what the results look like.

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 sentences, front-loaded with the two operating modes, then the concurrency qualifier. Every clause carries information: fan-out shapes, council output, and the queuing behavior. No filler.

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 an eight-parameter fan-out tool with no annotations and no output schema, the description covers purpose, modes, and quota behavior but leaves return values, cost, and safety expectations unstated. It is adequate to select and shape a call, but thin for such a high-leverage tool.

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%, so the schema already documents all eight parameters; the baseline would be 3. The description adds genuine meaning by pairing the modes to parameter combinations (prompt with models, tasks with model) and clarifying that 'council' is the default multi-model shape, which is not obvious from the schema alone.

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 names two concrete shapes: one question fanned to several models (a council producing a disagreement report) and several sub-tasks fanned to one model. That is a specific verb-plus-resource statement an agent can act on. It does not explicitly contrast with the 'delegate' sibling, so the boundary is implied by 'many' rather than stated.

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?

Clear context is given for both modes: use it when you want multiple models to answer one prompt, or one model to handle several prompts. It does not state exclusions or name 'delegate' as the alternative for a single delegation, which keeps it short of a 5.

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