Skip to main content
Glama

Cheapest Working Tool

market_cheapest
Read-onlyIdempotent

Cheapest Working Tool: 'I need X' -> the cheapest x402 provider that ANSWERS right now. Matches from ~38,000 indexed endpoints, sorted by price, each live-probed (unpaid) in that order; returns the pick + runners-up by live price and latency, and the cheap-but-dead ones it skipped. Never pays a target. By OMENZ. (MCP calls run in AYNE, the free playzone; production: GET https://www.omenz.org/api/tollbooth/v1/market/cheapest, $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_cheapest"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYessearch text
wantNowant
networkNochain name, e.g. base
min_matchNomin match
max_price_usdNomost you are willing to pay per call, in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, and the description corroborates this with 'Never pays a target'. Beyond that it discloses meaningful process detail: candidates are probed unpaid in price order and dead-but-cheap results are reported as skipped, plus a production endpoint and $0.002 cost. It stops short of stating rate limits or probing timeouts, which keeps it from 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 purpose is front-loaded in the first clause, which is good, but the run-on sentence packs in branding ('By OMENZ'), playzone jargon ('AYNE, the free playzone'), and a production URL that dilute the operational content. Every piece is arguably relevant, yet the density makes it harder to scan than a two-sentence split would be.

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 carry return-value information — it does, naming the pick, runners-up with live price and latency, and the skipped dead entries. Combined with the explicit no-payment guarantee and deployment context, an agent has enough to call this correctly; only the ambiguous 'want' and 'min_match' semantics remain under-explained.

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 the baseline is 3. The description adds context for the ordering and liveness semantics that make max_price_usd meaningful, but it does not clarify genuinely ambiguous parameters such as 'want' (described only as 'want' in the schema) or what min_match compares against.

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 specific verb and resource: find the cheapest x402 provider that currently answers, drawn from ~38,000 indexed endpoints and sorted by price. It distinguishes itself implicitly from generic discovery siblings by emphasizing 'cheapest' and 'live-probed', but it never names a sibling (e.g., market_find or market_price_index) as the alternative, so differentiation requires inference.

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

Usage Guidelines3/5

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

The 'I need X' framing implies the trigger condition — a price-first, liveness-sensitive search — and max_price_usd hints at budget-constrained use. However, there is no explicit when-not guidance and no pointer to sibling tools for broader discovery, pure price lookup, or paying a provider once found.

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