Skip to main content
Glama

AgentPay — trust routing + spend caps for x402 agents

route

Read-only

Legacy alias of the free verified_route preview (kept for back-compat). Vets one Coinbase Bazaar search for a need within a budget: drops stubs, down-ranks factory clones and one-wallet or one-call-per-wallet usage, ranks on distinct payers, and names a pick only above a confidence floor (otherwise verdict no_confident_pick). Returns the pick's name, usage stats and reason; the provider URL and ready-to-pay details are withheld, as in the preview. This is NOT the paid verified_route, which ranks the whole catalog with sybil collapse and delivery evidence. Advise-only — no payment happens here. Prefer verified_route. Use when: "which x402 tool for X", "find a paid API for X under $Y".

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": {
      "need": "<need>"
    },
    "name": "route"
  }
}

Input Schema

NameRequiredDescriptionDefault
needYesWhat capability you need, e.g. "funding rates", "token security", "DeFi TVL"
budgetNoMaximum USDC per call (default 0.01). Tools priced above this are excluded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial behavior beyond the readOnlyHint and openWorldHint annotations: it drops stubs, down-ranks factory clones and one-wallet or one-call-per-wallet usage, ranks on distinct payers, and withholds provider URL and ready-to-pay details. It also clarifies that the tool is advise-only and that no payment happens here.

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 most important context, that this is a legacy alias and that verified_route is preferred, is front-loaded. The description is somewhat long for a two-parameter tool, but nearly every sentence carries distinguishing behavioral or routing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a legacy routing tool with no output schema, the description explains the selection behavior, the confidence-floor fallback, the general return contents, and the withheld fields. It also distinguishes this tool from both verified_route and verified_route_preview, leaving little ambiguity about how to use it correctly.

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 description coverage is 100%, and the input schema already documents both need and budget in detail. The description reinforces that the search is scoped to a need and a budget, but it does not add syntax or format details beyond what the schema provides.

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 states a specific verb and resource: it vets one Coinbase Bazaar search for a need within a budget, ranks candidates, and returns a pick only above a confidence floor. It also distinguishes itself from the paid verified_route and the free verified_route preview, so an agent can identify it without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says to prefer verified_route and explains that this tool is a legacy alias kept for back-compat. It also gives concrete use cases such as "which x402 tool for X" and "find a paid API for X under $Y", which makes the selection condition 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.