Skip to main content
Glama

agent-bus

delegate_task

Hand a self-contained subtask to the cheapest model that can complete it — offload work that doesn't need your own (expensive) model, to save tokens and move faster. Returns the result, which model served it, and the exact cost. Requires your Flow AI API key in the Authorization header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesthe complete, self-contained task
systemNooptional system prompt for the worker
verifyNoalso verify the worker's answer (cheap strict judge, ~$0.0001) — result includes a verdict so you know whether to trust the delegated work
qualityNocheapest = single cheapest capable model; balanced = cascade with escalation (default)
max_tokensNooutput cap (default 1500)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses key behavioral aspects: it returns the result, the model used, and the exact cost, and it requires an API key. These are important for the user to understand the tool's side effects and requirements. It does not mention potential errors or rate limits, but for a simple delegation tool, the provided information is adequate.

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?

The description is concise, consisting of two sentences. It front-loads the primary purpose, then states the return value and the prerequisite. There is no unnecessary verbiage, and the structure is clear and efficient.

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?

Given that there is no output schema, the description provides a sufficient high-level summary of the return (result, model, cost) and the authentication requirement. It does not fully detail the output structure or error scenarios, but it is complete enough for an agent to understand the tool's basic behavior and decide whether to invoke it.

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?

All five parameters are fully described in the schema, so the description adds no additional nuance. The schema already covers the meaning of 'task', 'system', 'verify', 'quality', and 'max_tokens', including default values and enumerations. Therefore, the baseline score of 3 applies since schema coverage is high and the description provides no extra parameter-level detail.

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?

The description clearly states the tool's function: handing a self-contained subtask to the cheapest capable model. It uses a specific verb ('hand') and identifies the resource (the model) and the action's purpose (offloading work to save tokens). This distinguishes it from other tools that search for models or send messages.

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?

The description provides explicit guidance on when to use the tool: when the work doesn't require the user's own expensive model and the goal is to save tokens and move faster. It also notes the requirement of a Flow AI API key, which is a prerequisite. However, it does not explicitly name alternative tools for contrast, though the use-case condition is clear.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: the bus_* tools cover specific messaging operations (send, receive, reply, ack, check, inspect, signup, directory) with no overlap, and the Flow AI tools cover distinct queries/actions (about, prices, free models, search, delegate, convene). No two tools could be confused.

Naming Consistency3/5

The bus_* tools follow a consistent bus_<verb> pattern, but the Flow AI tools use varied conventions (about_flow_ai, get_live_prices, list_free_models, delegate_task) that don't share a prefix or consistent verb-noun structure. This mix is readable but not uniform across the whole set.

Tool Count5/5

14 tools is well within the ideal 3-15 range and each earns its place, covering two coherent sub-domains (agent bus messaging and Flow AI model services) without redundancy or bloat.

Completeness4/5

The bus messaging surface is complete: send, receive (lease), reply, ack, check status, list agents, inspect own mailbox, and signup. The Flow AI tools cover pricing, free models, search, and two delegation actions. Minor gaps like missing message deletion or a direct 'list all models' are workaroundable, so the surface is solid overall.

Resources