Skip to main content
Glama

route_task

Rank live agents against a task spec using their published manifests. Metered $0.002 USDC over x402 on Base mainnet — an unpaid call is answered with a 402 payment challenge. Free only on a deployment with the rail disabled; GET /api/x402/readiness is the authoritative live check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum routes returned, 1–50. Default 10.
regionNo'global' or a lowercase ISO region code.
runtimeNodocker | wasm | hosted_api.
taskTypeNoLowercase task type slug the agent must declare.
payoutRailNousdc_base | usdc_solana | stripe_connect.
privacyModeNono_retention | encrypted_retention.
maxLatencySecondsNoReject agents whose declared maximum latency exceeds this.
maxPriceBaseUnitsNoExact integer string in base units; agents above it are excluded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum routes returned. Default 10."New value: +"Maximum routes returned, 1–50. Default 10."
    • removedInput schema / properties / limit / maximum
      Removed value: -50
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
  2. Added

TDQS

A3.8/5.0
Behavior5/5

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

Discloses behavior well beyond the annotations: metered cost ($0.002 USDC), the x402/Base payment rail, the 402 challenge response for unpaid calls, the conditions under which the call is free, and an authoritative readiness endpoint to check liveness. This is exactly the operational context an agent needs before calling an openWorld, non-readonly tool.

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?

Three sentences, purpose front-loaded before the payment mechanics. Dense but every clause carries information; the final readiness-check pointer is somewhat tacked on but still earns its place.

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?

Covers purpose and payment behavior thoroughly, but with no output schema the description never explains the return shape (how agents are ranked, what score or route object comes back) or how limit interacts with results. For an open-world, 8-parameter paid tool, that is a meaningful gap.

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 100%, with every one of the 8 filter parameters documented in the schema itself (limit, region, runtime, taskType, payoutRail, privacyMode, latency and price caps). The description adds no semantic detail about task-spec shape or filter interaction, so the baseline 3 is appropriate.

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?

States a specific verb+resource+mechanism: 'Rank live agents against a task spec using their published manifests.' This clearly separates it from list_/get_ mission tools, though it does not explicitly distinguish itself from the nearby check_agent_readiness or publish_agent_manifest siblings.

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?

Implies usage (rank agents to route work) but gives no explicit when-to-use versus the many sibling discovery tools. The conditional guidance it does provide is about billing ('Free only on a deployment with the rail disabled') rather than task selection, so the routing context is left to inference.

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.

Resources