Skip to main content
Glama

Verified x402 auto-discovery & failover index

discover_x402_endpoints
Read-onlyIdempotent

Search live, health-probed x402 endpoints and rank them by capability, network, price, and quality; exclude dead or bad-actor providers and return failover recommendations.

Instructions

Search live, health-probed x402 endpoints across Coinbase CDP Bazaar, PayAI, and seller manifests. Use q (natural-language capability), scope (all, ecosystem, apix402data), network (all, solana, base), sort (best_value, highest_quality, cheapest, fastest), and max_price_usd. Returns recommended_primary, failover_candidates, quality_grade (A+-F), purchase_protection handshake pin, and network_health with dead/bad-actor endpoints excluded by default. Do not use when you already know the exact tool to call. 5 free tries per 24h UTC per IP, then HTTP 402 ($0.0015 USDC on Solana or Base).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "discover_x402_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoCapability or intent query (e.g. solana rug, polymarket, rpc, llm, gas, news, sec)
sortNoRanking mode: best_value | highest_quality | cheapest | fastestbest_value
limitNoMax ranked live providers to return (1-50)
scopeNoall (ecosystem + apix402data), ecosystem (external Bazaar/PayAI only), apix402dataall
networkNoFilter by settlement network: all, solana, baseall
include_deadNoInclude quarantined/dead endpoints (default false)
max_price_usdNoMaximum price per call in USD
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 5 daily free tries roll over to HTTP 402.
min_quality_scoreNoMinimum 5-pillar quality score (0-100)
quality_verified_onlyNoOnly return Quality-Verified (70+ score, valid USDC, live 402) endpoints

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
engineNo
providersNo
network_healthNo
failover_candidatesNo
recommended_primaryNo
median_live_price_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations: discloses health-probing, default exclusion of dead/bad-actor endpoints, the 5-free-tries-per-24h-per-IP quota, the fallback HTTP 402 with $0.0015 USDC pricing on Solana/Base, and the purchase_protection handshake pin. These are exactly the cost and filtering behaviors an agent needs before calling.

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?

Front-loads purpose, then parameters, then return shape, then exclusion, then pricing — a logical order with no filler sentences. It loses a point for restating schema enum values (scope, network, sort) verbatim, which duplicates structured data.

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 10-parameter, zero-required, output-schema-backed tool this covers what matters: what is searched, how to filter, what comes back, which endpoints are excluded by default, and the quota/payment model including the session_token path. Nothing needed to call it correctly is missing.

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 every parameter including its allowed values is already documented in the schema. The description only adds a minor gloss ('natural-language capability' for q) and otherwise repeats enum lists, which is the expected baseline rather than added meaning.

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?

States a specific verb and resource ('Search live, health-probed x402 endpoints') plus the three data sources it federates (CDP Bazaar, PayAI, seller manifests). An agent can distinguish this discovery/index tool from any single-capability sibling without opening the schema.

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?

Explicit negative guidance ('Do not use when you already know the exact tool to call') sets a clear selection boundary, and the discovery framing implies when it should be used. It stops short of naming a concrete alternative sibling for the known-tool case, so it is strong but not fully routed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.