Skip to main content
Glama

Which paid API should my agent use? Agent Market finds the p

market_find
Read-onlyIdempotent

Which paid API should my agent use? Agent Market finds the paid tool for a capability across ~38,000 x402 endpoints (Bazaar index, refreshed daily). Ranked by match, then real 30-day usage (calls, unique payers); filter by max_price_usd and network; exclude= a vendor to get substitutes (tool down or rate-limited); the top picks are probed live (never paid) for status, price and drift. Capability Finder, Procurement Desk, Quote Comparator, Tool Substitute Finder and Rate-Limit Router in one call. With max_price_usd, relevant options above your limit stay visible in over_your_limit (for the owner's decision, never auto-chosen): discovery is not authorization. By OMENZ. (MCP calls run in AYNE, the free playzone; production: GET https://www.omenz.org/api/tollbooth/v1/market/find, $0.002 via x402.)

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_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYessearch text
needNoneed
limitNolimit
excludeNoexclude
networkNochain name, e.g. base
live_checkNolive check
min_payersNomin payers
max_price_usdNomost you are willing to pay per call, in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / need
      Added value: +{
      +  "description": "need",
      +  "type": "string"
      +}
  2. Changed7 schema fields changed
    • addedInput schema / properties / exclude / description
      Added value: +"exclude"
    • addedInput schema / properties / limit / description
      Added value: +"limit"
    • addedInput schema / properties / live_check / description
      Added value: +"live check"
    • addedInput schema / properties / max_price_usd / description
      Added value: +"most you are willing to pay per call, in USD"
    • addedInput schema / properties / min_payers / description
      Added value: +"min payers"
    • addedInput schema / properties / network / description
      Added value: +"chain name, e.g. base"
    • addedInput schema / properties / q / description
      Added value: +"search text"
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, lowering the bar; the description still adds real value by disclosing that top picks are probed live but never paid, that above-budget options surface in over_your_limit and are never auto-chosen, and that the index refreshes daily. Partial gaps remain: the effect of live_check and min_payers is unstated. This is adequate behavioral context but not rich enough to earn a 5.

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?

The core capability and the budget rule are front-loaded in the first two sentences, but the description then piles on marketing material — a list of internal product names ('Capability Finder, Procurement Desk, Quote Comparator… in one call'), 'By OMENZ', and a production endpoint URL. The $0.002 x402 cost note is behaviorally relevant, but the surrounding branding and repetition dilute it rather than earn its space.

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

Completeness3/5

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

For an 8-parameter, annotated, open-world discovery tool with no output schema, it covers ranking rationale, live probing, budget overflow and cost of use. It leaves the response shape undefined beyond the single over_your_limit mention, and says nothing about how many results come back or what live_check can degrade. Adequate but with clear residual gaps.

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 eight parameters are documented in the schema and baseline is 3. The description adds meaning for exclude (substitute lookup), max_price_usd (budget ceiling and over_your_limit behavior) and network, but adds nothing for q, limit, live_check or min_payers. Marginal value beyond the schema, correctly scored at baseline.

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?

States a concrete verb+resource: it finds the paid x402 endpoint that delivers a capability, drawn from a ~38,000-endpoint Bazaar index, and explains the ranking key (match, then 30-day usage). An agent can tell what it returns without opening the schema. It does not differentiate itself from nearby siblings such as quote, market_cheapest, or market_price_index, so it stops short of a 5.

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?

Gives concrete use conditions: pass exclude when a vendor is down or rate-limited to get substitutes, filter by max_price_usd and network for budget/chain constraints. It also warns that discovery is not authorization, so results do not constitute a decision. It offers no explicit when-not guidance or named sibling alternatives, which keeps it at 4.

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