Skip to main content
Glama

Market search

market_search

x402 API market search. Find a paid API for any task: one search over every x402 API on Coinbase Bazaar, Circle, Fuci Market, CRA and sellers listed on APEX Market, ranked by distinct wallets that paid in 30 days (one is often the seller's own test; 3+ is where customers start), with price, chains, calls per payer and whether it answered 402 when we called it. Up to 100 results. $0.002 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

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": {
      "q": "<q>"
    },
    "name": "market_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYeswhat you need, in words, e.g. "web scrape", "token price", "weather"
sortNopayers (default), price, recent or repeat
chainNoonly listings payable on this chain: Base, Arc, Solana, BNB, Polygon
limitNoup to 100 (default 20)
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.
maxPriceNoprice cap in USD per call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the per-call price ($0.002), accepted chains and tokens, the 402-challenge handshake, the 100-result cap, and the meaning of the payer-count ranking signal. It does not cover failure modes (insufficient funds, expired payment payload) or whether the unsigned discovery call itself is free, which is left implicit.

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?

It is front-loaded with the core purpose and action, and the payment protocol is placed last where it belongs. The opening "x402 API market search" largely restates the title, and one very long sentence packs ranking, pricing, chain and probe-status detail together, slightly hurting scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, payment-gated tool with no output schema, the description covers cost, payment flow, result cap, ranking semantics and the fields returned (price, chains, calls per payer, 402 status). Only edge-case behavior — what happens on a failed or rejected payment, and pagination beyond the 100 cap — is left unaddressed.

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 baseline is 3 and the schema already documents all six parameters including enum-like values for `sort` and `chain`. The description adds real meaning for the default `sort` ("ranked by distinct wallets that paid in 30 days") and explains the `payment` round-trip, but leaves `maxPrice`, `limit`, and `chain` filtering to 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 concrete verb and resource — searching every x402 API across named sources (Coinbase Bazaar, Circle, Fuci Market, CRA, APEX Market) — and explains the ranking metric and returned fields. It does not, however, explicitly distinguish itself from plausibly overlapping siblings such as arc_agent_search or arc_catalogue_search, so an agent must infer the difference from the catalog-aggregation wording.

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 a clear use case ("find a paid API for any task") and an explicit two-step invocation protocol: call once without `payment` to get terms, sign with your own wallet, call again with `payment` to complete the purchase inside the call. The gap is that no exclusions or named alternatives are given, so an agent cannot tell from the text alone when to prefer a different market tool.

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