Skip to main content
Glama

x402 market data: measured uptime, latency and quoted prices of paid x402 endpoints

x402_market
Read-onlyIdempotent

Use when choosing or checking a paid x402 API. Input: q (task or keywords; optional max_price, network, limit 1-20, min_uptime 0-1) or url (one x402 resource). Output: JSON endpoints with our own measurements: 7-day uptime, p50/p95 latency, last quoted price and changes, networks, last checked, reliability score, plus price p25/median/p75. Measured by unpaid probes (402 quote only). Example: ?q=weather&min_uptime=0.9 Price: $0.003 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

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

Input Schema

NameRequiredDescriptionDefault
qNoWhat the API should do, in plain words or keywords. Text only: never fetched as a URL. Give q or url
urlNoOne x402 resource URL (https) to get its measured stats
limitNoNumber of results (default 8)
networkNoOnly endpoints that accept this network: base, solana, polygon, arbitrum, optimism, ethereum, avalanche, worldchain, monad, or a CAIP-2 id
max_priceNoOnly endpoints priced at or below this many USD per call (index price)
min_uptimeNoOnly endpoints whose measured 7-day uptime is at least this fraction

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds genuinely new behavior: measurements come from unpaid probes that only fetch the 402 quote, and the call itself costs $0.003 in USDC across five named chains. That cost and methodology disclosure is exactly what an agent needs before spending money. Rate limits and error modes are not covered.

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?

Front-loaded with the trigger phrase, then tightly labeled Input/Output/Example/Price blocks with zero filler. Nearly every clause carries decision-relevant information for an agent.

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 six parameters and no output schema, the description compensates by enumerating the returned fields (uptime, p50/p95 latency, quoted price, networks, reliability score, price percentiles), so an agent knows what it gets without a schema. Measurement methodology and cost are also disclosed, leaving little ambiguity for a read-only lookup.

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, but the description adds range constraints the schema omits: limit 1-20 (schema only says default 8) and min_uptime 0-1, plus a worked example query string. It reinforces that q is text-only and url takes exactly one resource, though that is largely duplicative of the schema.

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 pairing ('choosing or checking a paid x402 API') and the title pins it to measured uptime, latency and quoted prices. An agent can immediately tell this is a market-data lookup tool rather than the neighboring x402_lint, x402_verify or x402_preflight, which act on a single endpoint.

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?

'Use when choosing or checking a paid x402 API' plus the 'Give q or url' branch point gives clear selection context and two distinct invocation modes. It never says when NOT to use it or names a sibling alternative such as x402_api_recommend, so it stops short of full routing guidance.

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.

Resources