Skip to main content
Glama

402 Dispatcher

Route and Call

route_and_call

PAID inbound $0.01 USDC to Merchant, then route a task to a Base x402 API, pay upstream from Treasury, and return data. economy = cheapest; verified = reliability-scored. Failover on errors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoOptional JSON body overrides
taskYesNatural-language task, for example "current weather for Boston"
tierNoRouting tier: "economy" = cheapest first (V3); "verified" = reliability-scored APIs with enough successful history (V4)
queryNoOptional query overrides; defaults to the listing example query
max_attemptsNoHow many candidates to try on failure (default 3)
max_price_usdNoOptional budget for this route (clamped to MAX_PRICE_USD)

TDQS

A3.7/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 and discloses several important behaviors: it is a paid flow ($0.01 USDC inbound), money is paid upstream from Treasury, and errors trigger failover. This is meaningful for an agent deciding whether to invoke a financial tool. It stops short of describing permissions, reversibility, or detailed error/return behavior, but it provides genuinely useful behavioral context.

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?

The description is compact: three sentences cover payment, routing, tiers, and failover. The first sentence is a dense run-on with somewhat awkward phrasing, so it is not maximally readable, but every part contributes and there is no wasted text.

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?

Given a complex financial/routing tool with no output schema, the description covers the main workflow and tier semantics but leaves the return shape vague ('return data') and does not describe output/error structure or how this tool relates to quote-only siblings. It is adequate for initial selection but not complete for an agent that needs to know what a successful call returns or what failure surfaces look like.

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 adds real semantic value by defining economy as cheapest-first V3 and verified as reliability-scored V4, which enriches the tier enum. Framing 'failover on errors' also connects to the max_attempts parameter without repeating the schema.

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 a concrete multi-step operation: collect a paid inbound fee, route a natural-language task to a Base x402 API, pay upstream from Treasury, and return data. This goes beyond the tool title and differentiates it from direct-call siblings by mentioning routing and payment. It is not a perfectly crisp one-liner due to jargon, but the core purpose is identifiable.

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?

The description explains how to choose routing tiers (economy vs verified) and states failover behavior, which helps an agent select parameters. It does not explicitly tell an agent when to use this tool instead of quote_route or call_x402_api, nor when not to use it. The guidance is present but mostly implicit.

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

C2.6/5.0
Disambiguation1/5

The core dispatcher tools are distinct, but the 84 auto-discovered wrappers contain dozens of near-identical news, weather, and translation endpoints. An agent cannot reliably tell many of these apart without reading provider-specific details, and misselection is likely.

Naming Consistency2/5

Core tools use a readable verb_noun pattern, but most tools are machine-generated `x402_<domain>_<path>_<number>` names with opaque numeric suffixes. The two naming schemes are mixed, and the generated names are not intuitive.

Tool Count1/5

95 tools is an extreme mismatch for a coherent MCP surface. The bulk are auto-registered third-party proxies that duplicate the same few categories, creating massive prompt bloat and selection overhead.

Completeness4/5

For an x402 dispatcher, the core lifecycle is well covered: discovery, search, quote, route-and-call, stats, paywall status, and cashflow/P&L. Minor gaps such as no deregistration or detailed per-transaction drill-down exist, but main workflows do not dead-end.

Resources