Skip to main content
Glama

Beggar Bot

crypto_price

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

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

B3.2/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 well: it discloses the data source (Uniswap v3, Aerodrome pools), the returned signals (pool liquidity, cross-pool spread, confidence flag), the absence of an API key, and the exact billing rule ($0.02 USDC via x402, charged only on 2xx, never on input errors). It does not address price freshness/caching or latency, which are the remaining behaviors an agent would want to know.

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 description is reasonably front-loaded: what it returns first, then sourcing, then payment terms. But the opening 'Token price and crypto price API:' is keyword stuffing, and the 'or symbol=ETH' alias is wasted (and misleading) wording.

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 no annotations, so the description must cover both return shape and safety/payment profile, and it largely does (pool liquidity, spread, confidence flag, x402 billing). The gaps are freshness semantics and the incorrect 'symbol' alias, but overall an agent could call this correctly from the description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters, setting a baseline of 3. The description adds the supported symbol list, but it also instructs 'Pass tokens=ETH or symbol=ETH' even though no 'symbol' parameter exists in the schema, which can steer an agent into an invalid call. That inaccuracy drags the score below 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 specific verb and resource: live USD token price for named symbols or a contract address on Base or Ethereum, plus the on-chain DEX source. An agent knows exactly what the tool returns. It does not, however, distinguish itself from near-identical siblings such as crypto_price_api, token_price, or token_price_api, so the agent gets no help choosing among them.

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

Usage Guidelines2/5

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

The description gives input examples (tokens=ETH) but no when-to-use guidance, no conditions that favor it over the many price siblings, and no exclusions. The only usage rule offered is the 'up to 4' cap, which is really a parameter constraint rather than routing advice.

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.