Skip to main content
Glama

Agent Data Tools: Utilities

API recommendation: compare paid APIs for a task

recommend
Read-only

Describe a task in plain words and compare up to five paid APIs for it across the whole Coinbase Bazaar: each pick with the exact URL to call, method, price in USD, networks, 30-day payers and calls, last paid date and the evidence behind the order. Our own listings are marked, never boosted. No matching tool means no charge. Use when an agent must choose which API to call before paying one. Example: need=check whether a Base token is a honeypot. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
needYesThe task in plain words, 3 to 300 characters
countNoHow many picks, 1 to 5 (default 3)
maxPriceNoOnly listings at or under this price in USD
networksNoComma-separated networks: base, polygon, arbitrum, solana

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / maxPrice
      Added value: +{
      +  "description": "Only listings at or under this price in USD",
      +  "type": "number"
      +}
    • changedInput schema / properties / need / description
      Previous value: -"The task in plain words, up to 300 characters"New value: +"The task in plain words, 3 to 300 characters"
    • addedInput schema / properties / networks
      Added value: +{
      +  "description": "Comma-separated networks: base, polygon, arbitrum, solana",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnly/openWorld/non-idempotent/non-destructive), it discloses the cost model ($0.01/call via x402 USDC or card key, first 10 free, failed calls free, no match means no charge) and that repeats are not free. It also states neutrality ('our own listings are marked, never boosted'), which is real behavioral context. The pricing detail is somewhat redundant across two sentences, but the substance is there.

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?

Purpose, output fields, usage trigger, example, and pricing are front-loaded and each sentence is informative. The only redundancy is the pricing repeated in the closing line ('each call is charged, so repeats are not free'), which restates the $0.01/call fact.

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?

With no output schema, the description carries the burden of describing returns and does so thoroughly (URL, method, price, networks, 30-day payers/calls, last paid date, evidence). Pricing, charging behavior, and side-effect freedom are all covered; only ranking/evidence semantics remain slightly opaque.

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 100%, so the baseline is 3, and the description adds modest value by tying 'up to five' to the count cap and listing networks among returned fields. It does not explain maxPrice filtering semantics or the count default beyond what the schema already says, so the gain is incremental.

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 uses a specific verb and resource ('compare up to five paid APIs' for a described task 'across the whole Coinbase Bazaar') and lists the exact per-pick output fields. Combined with the title, an agent can immediately tell this is a discovery/recommendation tool, not one of the compute or lookup siblings.

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 an explicit trigger ('Use when an agent must choose which API to call before paying one') plus a concrete worked example (honeypot check on a Base token). It lacks a stated when-not or a named alternative for browsing vs. recommending, but the usage context is unambiguous.

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