Skip to main content
Glama

Beggar Bot

token_price_api

Token price and crypto price API: live USD token price for ETH, BTC, USDC, AERO, DEGEN, cbBTC, VIRTUAL or a contract address on Base or Ethereum. Pass tokens=ETH or symbol=ETH (up to 4). Read from on-chain DEX pools (Uniswap v3, Aerodrome) with pool liquidity, cross-pool spread and a confidence flag. No API key. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC 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": {
      "tokens": "<tokens>"
    },
    "name": "token_price_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase (default) or ethereum
tokensYes≤4 comma-separated token symbols (ETH, BTC, USDC, AERO…) or contract addresses

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 a solid job: it discloses the pricing model ($0.02 USDC via x402), that no API key is required, that payment settles only after a 2xx response, and that input errors are never charged. It also describes the response content (pool liquidity, cross-pool spread, confidence flag). Gaps remain around rate limits, latency, and partial-success behavior when only some of the 4 tokens resolve.

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?

The description is dense and front-loaded, leading with what the tool returns and the supported assets before moving to cost and payment semantics. Nearly every clause carries information, though the long token enumeration and the API-key/payment details slightly crowd the opening.

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, and the description compensates by describing the return contents (liquidity, spread, confidence flag). Costs, payment timing, supported chains and assets are all covered, leaving only minor operational details (rate limits, error shapes beyond billing) unspecified.

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. The description does add meaning beyond the schema — the 'up to 4' cap, contract-address support, and the specific token list — but it also introduces a 'symbol=ETH' alias that does not exist as a schema parameter, which could mislead an agent about the accepted argument name.

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 names a specific verb+resource ('live USD token price') and enumerates supported assets (ETH, BTC, USDC, AERO, DEGEN, cbBTC, VIRTUAL) plus contract addresses on Base/Ethereum, and identifies the data source (Uniswap v3, Aerodrome DEX pools). That is more precise than a generic 'crypto price' descriptor, though it never explicitly contrasts itself with the many sibling price tools (crypto_price_api, token_price, price_token, chainlink_price, etc.).

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?

Usage mechanics are given ('Pass tokens=ETH or symbol=ETH (up to 4)') and the supported chains are implied via the schema default, but there is no when-to-use/when-not-to-use guidance and no direction to the numerous sibling price tools. The reader must infer that this is the on-chain DEX-pool variant rather than a generic or historical price source.

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.