Skip to main content
Glama

x402 Router

Search live x402 APIs

search_x402_endpoints
Read-onlyIdempotent

Search the router's continuously probed registry of ~24,000 LIVE x402 pay-per-call endpoints. Returns the best-ranked matches with price (USDC), crawl latency, reliability_pct (share of the last <=20 probes that answered HTTP 402), networks and payTo. Free.

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": "search_x402_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree-text task or keyword, e.g. 'weather', 'image generation', 'token price'
chainNoChain filter: Base, Solana, or a CAIP-2 id like eip155:8453
limitNoResults to return (default 10, max 25)
categoryNoCategory filter, e.g. AI, Data, Finance, Search
max_priceNoMaximum price per call in USDC, e.g. 0.05

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real context beyond that: the registry is continuously probed, roughly 24,000 entries, results are best-ranked, price is quoted in USDC, and reliability_pct is defined as the share of the last <=20 probes that answered HTTP 402, plus it is free to call. Pagination past the 25-result cap is the main undisclosed behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence plus a short results sentence and the word 'Free' — nothing wasted. Scale, liveness, ranking, and output fields are all stated up front, and the pricing fact is isolated so it is not buried.

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 required parameters and no output schema, the description must carry what the tool searches, what comes back, and what it costs, and it does all three explicitly. An agent knows this is a free, side-effect-free discovery call returning ranked candidates with price and reliability data sufficient to choose a later paid route.

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%, so all five parameters (q, chain, limit, category, max_price) are already documented, and the description adds no per-parameter syntax or format guidance. Its added meaning is about result fields (price in USDC, crawl latency, networks, payTo) rather than about inputs, so the baseline 3 is appropriate.

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 the router's continuously probed registry of ~24,000 LIVE x402 pay-per-call endpoints.' The word 'search' plus 'registry' separates it cleanly from siblings like compare_x402_endpoints (comparison), route_x402_request (execution), and get_endpoint_reliability (per-endpoint lookup), so an agent can pick it without opening a schema.

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?

Usage is implied rather than stated: 'Free' hints that this is the discovery step before a paid route, and returning ranked matches implies it precedes check_endpoint_paid or route_paid. However, no sibling is named and there are no explicit when-not conditions (e.g. use get_endpoint_reliability for a known endpoint, or get_x402_changes for what changed recently).

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.