Skip to main content
Glama

ghost_commerce_search

Decide which x402 provider to pay, before paying it. Consult when the provider is unknown, when a decision you hold has passed its valid_until, or when the price, health, verdict or funding of one materially changed. Finds providers by need and ranks them by real economic evidence: independent payers, calls-per-payer (the repeat signature), last settlement, on-chain trust verdicts and change history. Returns USE/WATCH/AVOID with the exact call, a fallback, valid_until and recheck_when — reuse a held decision until it expires or a trigger fires, rather than asking again. Paid per call via x402; free preflight at /v1/commerce/search/preflight (3/day). Payment: $0.01 USDC on Base per call over x402, settled before the tool runs. An x402 MCP client such as x402-proxy pays it automatically; if you use x402-proxy, set its spend limits first (spendLimitPerTx 0.01, spendLimitDaily 0.10; see /llms.txt). A funded payment and delivery through x402-proxy has not been verified yet.

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoFree-text need, e.g. 'solana market data with recent buyers'
networkNoCAIP-2 filter, e.g. eip155:8453
capabilityNoCapability keyword(s), e.g. 'search'
min_payersNoOnly providers with at least this many independent payers in 30d
max_price_usdNo0 means no price ceiling
payment_signatureNoLeave empty when your MCP client pays automatically (e.g. x402-proxy: payment travels in _meta["x402/payment"]). Otherwise the x402 PAYMENT-SIGNATURE header value: omit it to receive the payment terms, call again with it to run the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment_signature / description
      Previous value: -"x402 PAYMENT-SIGNATURE header value. Omit it to receive the payment terms; call again with it to run the tool."New value: +"Leave empty when your MCP client pays automatically (e.g. x402-proxy: payment travels in _meta[\"x402/payment\"]). Otherwise the x402 PAYMENT-SIGNATURE header value: omit it to receive the payment terms, call again with it to run the tool."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With zero annotations, the description carries the full burden and does so: it discloses the exact price ($0.01 USDC on Base), that payment 'settled before the tool runs' (i.e., you pay even if results are poor), a free preflight with a 3/day cap, spend-limit settings, and an honest caveat that funded delivery through x402-proxy is unverified. These are exactly the consequential traits an agent cannot get from schema or annotations.

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

Conciseness3/5

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

It is front-loaded with purpose and triggers, but roughly half the text is payment plumbing (x402, spendLimitPerTx, /llms.txt pointer) that sits awkwardly in a tool description, and the reuse-until-expiry rule is stated twice (in the trigger sentence and again after the return contract). Every element is relevant, but the block is denser and longer than a caller skimming for 'what does this do' needs.

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?

There is no output schema, so the description must describe returns — and it does, naming the verdict enum, the exact call, a fallback, valid_until and recheck_when. Pricing, payment mechanics and the preflight path are covered. The remaining gap is failure behavior: it never says what the caller gets (or is charged) when no provider matches the filters.

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 86%, so the baseline is 3, and the description adds selective meaning on top: 'by need' maps to the free-text query, the ranking evidence (independent payers, calls-per-payer, last settlement) explains why min_payers and price filters exist, and the payment_signature two-step flow is restated coherently. It does not clarify limit/pagination semantics or what a zero-result search with filters returns, so it stays short of a 5.

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 gives a concrete verb+resource pair: it 'finds providers by need and ranks them by real economic evidence' and returns USE/WATCH/AVOID verdicts. That is clearly distinguishable from the vetting/forecasting siblings, though it never names ghost_commerce_vet or explains the split between searching for providers versus vetting a known one. The opening line is a decision-oriented aphorism rather than a statement of function, pushing the actual purpose to the third sentence.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It enumerates explicit invocation triggers — provider unknown, a held decision past valid_until, or a material change in price/health/verdict/funding — and pairs them with a negative rule: reuse a held decision until it expires or a trigger fires rather than asking again. That is precise when-to-use and when-not-to-use guidance in one place, with no inference required.

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