Skip to main content
Glama

AgentPay — trust routing + spend caps for x402 agents

verified_route

Read-only

Buyer-side trust oracle for the x402 marketplace: "I need X, budget $Y — which tool is real?" Vets Coinbase Bazaar (discover → drop stubs/factory clones → rank by real unique-payer usage → budget-gate). This MCP runs the FREE single-query PREVIEW: it returns the vetted pick (name + usage stats + why) and survivor count to PROVE a real provider exists, but WITHHOLDS the provider URL + ready-to-pay x402 challenge. To get those — plus the full multi-query sweep + usage-based sybil-collapse + trust allowlist — fund this install's wallet with USDC on Base and set AGENTPAY_ENABLE_PAID=1 (the paid verified_route costs $0.01), or use the agentpay-x402 SDK. No payment happens while paid mode is off. Use when: "which x402 tool for X", "find a real/trustworthy paid API for X", "avoid a scam or dead stub", "vet this provider before I pay".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
needYesWhat you need, e.g. "dex pair liquidity", "funding rates", "token security"
chainNoOptional chain filter: "base", "arbitrum". Empty = all chains.
budget_usdNoMax USDC the agent will pay the downstream tool per call (default 0.01).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses a lot: the free preview withholds the provider URL and x402 challenge, paid mode requires funding the install wallet and setting AGENTPAY_ENABLE_PAID=1, the paid call costs $0.01, and no payment occurs while paid mode is off. This is exactly the kind of side-effect/auth disclosure the annotations can't carry.

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?

Purpose is front-loaded and the paid/preview gating is well organized, but the text is long, uses all-caps emphasis ("PROVE", "WITHHOLDS") and double spaces that add noise. Information density is high, so most sentences earn their place.

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?

With no output schema, the description fills the gap by stating exactly what is returned (vetted pick name, usage stats, rationale, survivor count) and what is withheld (provider URL, ready-to-pay challenge). An agent has everything needed to call it and interpret the result.

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%, so the schema already documents need, chain, and budget_usd. The description adds only the budget-gating concept ("budget-gate", "budget $Y") without new syntax or format detail beyond 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 states a specific verb+resource+scope: a buyer-side trust oracle that vets x402 providers (Coinbase Bazaar) and ranks by unique-payer usage. It clearly distinguishes itself from generic discovery by being a vetting/oracle layer, but never names the adjacent siblings it overlaps with (route, pre_trade_check, estimate_plan), leaving some differentiation to inference.

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?

It gives explicit triggering phrases ("which x402 tool for X", "vet this provider before I pay") and explains the preview-vs-paid decision boundary. It does not say when to prefer a plain search/route sibling instead, so alternatives are implied rather than stated.

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.