Skip to main content
Glama

delegate_tasks

Destructive

Hand SEVERAL tasks to other agents as ONE group, with dependencies (fan-out/fan-in). teile: [{schluessel, to_agent_id, message, nach?: [schluessel…]}]. A part with nach waits (status wartend) until all named parts are done, then starts with their results appended to its message ("Ergebnisse der Vorgaenger: …"). If a predecessor fails, the dependent part fails with the reason and never starts. When every part is finished, the results are merged ONCE into {antwort (max 4 sentences), offen[], widersprueche[]} and returned as ONE result: wait_for_result=true resumes THIS session with it (Dev-Agent session); a group started during a WhatsApp turn sends ONE WhatsApp message. Receivers report with report_task_result. Limits per order (tenant settings): depth, number of handoffs, tokens; a handoff back to an agent earlier in the same chain is refused. Use get_delegation_group to look at the state. Tell the person 'handed over', never 'done', until the merged result is there.

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": {
      "teile": "<teile>"
    },
    "name": "delegate_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
teileYesTeilaufgaben: [{schluessel, to_agent_id, message, nach?}] mit optionalen Abhaengigkeiten
auftragNoThe overall order in one or two sentences — used when merging the results.
priorityNoPrioritaet
session_nameNoName der Sitzung, die mit dem zusammengefassten Ergebnis fortgesetzt wird
from_agent_idNoSending agent; default: the acting agent.
wait_for_resultNoResume this session with the merged result of the group.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / priority / description
      Added value: +"Prioritaet"
    • addedInput schema / properties / session_name / description
      Added value: +"Name der Sitzung, die mit dem zusammengefassten Ergebnis fortgesetzt wird"
    • addedInput schema / properties / teile / description
      Added value: +"Teilaufgaben: [{schluessel, to_agent_id, message, nach?}] mit optionalen Abhaengigkeiten"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the annotations (readOnlyHint=false, destructiveHint=true): it discloses the 'wartend' status of dependent parts, failure propagation into dependents, the one-time merge into {antwort, offen[], widersprueche[]}, the wait_for_result resumption contract, single-WhatsApp-message behavior, and per-tenant limits plus the refusal of handoffs back up the chain. That is exactly the mutation/limit/side-effect context the hints alone cannot convey.

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 shape of `teile`, then layered with dependency, merge, and limit behavior in a logical order. It is dense and mixes German field names with English prose plus parentheticals, but almost every sentence carries operative information.

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 complex, non-idempotent, destructive fan-out tool with no output schema, the description covers the return shape, resumption behavior, and limits well. It leaves gaps on re-invocation semantics (calling twice creates two groups, given idempotentHint=false) and on what priority actually changes.

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 baseline is 3; the description earns more by explaining what `nach` actually does (blocks until predecessors finish, then appends their results to the message) and how the group result is formed, which the schema's one-line field descriptions do not. priority and from_agent_id still get no semantic elaboration beyond the schema.

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 plus the differentiating scope: 'Hand SEVERAL tasks to other agents as ONE group, with dependencies (fan-out/fan-in).' The grouping/dependency semantics clearly separate it from a single-task handoff, so an agent can pick it without opening the schema.

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?

Gives concrete routing hints: use get_delegation_group to inspect state, receivers report back via report_task_result, and the sender must say 'handed over' not 'done' until the merged result arrives. It never explicitly says when to prefer it over delegate_task for a single task, so the exclusion is implied rather than stated.

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.