Skip to main content
Glama

Agent Data Hub

Crypto token prices (USD)

crypto_price
Read-onlyIdempotent

Current USD price for up to 20 crypto tokens in one call: by symbol (btc, eth, sol, usdc…), CoinGecko id, or contract address (base:0x…, ethereum:0x…, solana:). Returns price_usd, symbol, decimals, confidence and update time. Aggregated DEX/CEX prices via DefiLlama, cached 30s. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are 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": {
      "tokens": "<tokens>"
    },
    "name": "crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain for bare 0x addresses (default ethereum)
tokensYesComma-separated: symbols (btc,eth), coingecko:<id>, or <chain>:<contract> e.g. base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, open-world behavior, but the description adds substantial context beyond them: DefiLlama DEX/CEX aggregation, a 30s cache window, per-call cost of $0.002 with 10 free calls per day, and the returned fields including confidence. The pricing and caching notes are exactly the kind of cost/latency information an agent needs for planning.

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?

A single dense paragraph that front-loads the capability and identifier formats before cost details. Every clause carries information, though the cost sentence could be split for readability and the token-count limit sits inside a very long first sentence.

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

Completeness5/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 compensates by naming the return fields (price_usd, symbol, decimals, confidence, update time). Given a 2-parameter tool, this covers data source, freshness, cost, and inputs completely.

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, but the description adds meaning the schema does not: the 20-token cap per call and the 'solana:<mint>' identifier style not shown in the schema's examples. The chain parameter's role is echoed rather than expanded, which keeps it from a 5.

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?

States a specific verb and resource ('Current USD price for up to 20 crypto tokens in one call') and enumerates the three accepted identifier forms. An agent can distinguish it from crypto_price_history or crypto_candles by the word 'current' and the batch scope, without opening a schema.

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 clear operational context: batch up to 20 tokens, symbol vs CoinGecko id vs chain-prefixed contract address, and the chain default noted in the schema. It does not explicitly route the agent to a sibling (e.g. use crypto_price_history for past prices), so a small inference is still required.

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