Skip to main content
Glama

route_task

Choose the least-burden eligible route for a task. Hard constraints include quality, reliability, locality, capabilities, context, cost, latency, and energy. Optional baselines quantify predicted savings. Explicit allow_defer/value/urgency fields may produce a no-work decision; no result is then claimed. Returns a hash-bound decision receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
request_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses important behaviors: it selects the least-burden route, considers multiple constraints, supports optional baselines, and may produce a no-work decision with no claimed result. It also promises a hash-bound decision receipt. These are meaningful behavioral details beyond the simple action of routing.

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 four sentences, front-loaded with the core purpose, and each sentence adds distinct value: what it does, constraints, optional baselines, special decision case, and return behavior. No redundant or filler content.

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 tool with no annotations, a minimal schema, and an output schema, this description is quite complete. It covers purpose, key inputs, behavioral nuances, and output. It does not elaborate on request_id, but that parameter has a default and is likely incidental. The mention of a decision receipt and no-work scenario covers potential ambiguity.

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 coverage is 0%, and the description does not explicitly describe the 'task' or 'request_id' parameters. However, it does mention specific fields within the task object ('allow_defer/value/urgency') and 'optional baselines,' which gives some semantic meaning to the otherwise generic task object. This partial compensation justifies a middle score.

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 purpose: 'Choose the least-burden eligible route for a task.' It specifies the verb 'choose' and the resource 'route for a task,' and lists hard constraints that distinguish it from siblings like 'best_next_steps' or 'compute_efficiency_report.' This is a specific, non-tautological statement.

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 implies when to use the tool: when a task must be routed based on constraints like quality, cost, latency, etc. It does not explicitly name alternatives or exclusion criteria, but the context is clear and no misleading guidance is given. It also mentions special cases like 'allow_defer/value/urgency' fields leading to a no-work decision, which further clarifies usage.

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

B3.2/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but describe_agent and get_agent both return agent information, and best_next_steps vs route_task could be confused in decision-making contexts. The descriptions help clarify, so the ambiguity is limited.

Naming Consistency4/5

The vast majority of tools follow a verb_noun snake_case pattern (e.g., create_agent, list_agents), but best_next_steps breaks the pattern and compute_efficiency_report reads as a noun phrase. These are minor deviations from an otherwise consistent style.

Tool Count5/5

With 14 tools, the server sits comfortably within the ideal 3-15 range. Each tool serves a specific function in the agent lifecycle or compute-routing workflow, so the count feels well-scoped without unnecessary bloat.

Completeness4/5

The agent lifecycle is well covered with create, delete, get, list, describe, export/import, evaluation, and ledger access. The compute side includes profile registration, task routing, outcome recording, and reporting. Minor gaps like no direct agent update or profile listing exist, but they are workable.