Skip to main content
Glama

x420_x402_discover

Read-onlyIdempotent

x402 service discovery: Finds paid x402 APIs for a task: keyword-matches your need against the Coinbase Bazaar discovery catalog (first 1,000 entries, cached 10 minutes) and returns matching resources with price, network, pay-to address and the seller's description, filterable by max price and network. Pair with x402.probe before paying anyone. Source: Coinbase Bazaar. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: results[]{resource, host, description, price_usd, network, pay_to, match_score}, scanned, catalog_total, coverage.

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

Input Schema

NameRequiredDescriptionDefault
needYeswhat the agent needs, in words (e.g. 'wallet balance base', 'web search', 'weather')
networkNosubstring of a CAIP-2 network such as eip155:8453 or solana (optional)
max_resultsNo1-25 (default 10)
max_price_usdNoonly resources at or under this price (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses catalog scope (first 1,000 entries), caching (10 minutes), cost ($0.002 USDC on Base), and the crucial limitation that this hosted tool does NOT pay and does NOT return the deliverable, only payment instructions. It even spells out the x402 payment handshake, which an agent needs to actually complete a call.

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?

Core purpose, limits, and payment flow are front-loaded and the deliverable shape is listed last, which is sensible ordering. It is longer than needed — the legal/medical disclaimer sentence and a repeat of the price in the payment paragraph do not help an agent select or invoke the tool.

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 paid, hosted, open-world discovery tool with no output schema, the description covers cost, caching, catalog coverage, the absence of a deliverable from this endpoint, and the exact payment retry procedure — everything required to call 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 coverage is 100%, so need/network/max_results/max_price_usd are already documented. The description reinforces the price and network filtering semantics but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 — keyword-matching a stated need against the Coinbase Bazaar discovery catalog and returning paid x402 resources with price, network, pay-to address and description. It also distinguishes itself by naming the sibling x420_x402_probe as the next step before paying.

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?

Usage is clearly implied ('Finds paid x402 APIs for a task') and the description explicitly sequences it with x420_x402_probe before payment. It does not, however, state when to prefer it over other catalog-style siblings or any exclusions.

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