Skip to main content
Glama

Agent Data Tools: Utilities

Crypto prices

crypto_price
Read-only

Current price of up to 25 cryptocurrencies by CoinGecko id (bitcoin, ethereum, solana, usd-coin…) in up to 5 currencies, with the 24-hour change (from Coinbase for the coins it trades; tickers such as BTC work too). Use to price coins that are not on-chain tokens, value a portfolio in several currencies, or check a move. Example: ids=bitcoin,ethereum. Price $0.002/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": {
      "ids": "<ids>"
    },
    "name": "crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
vsNoComma-separated currencies (default usd)
idsYesComma-separated CoinGecko ids

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), and the description usefully confirms 'reads or computes only and changes nothing'. It also adds value with cost/payment mechanics (x402 USDC or card key, $0.002/call, first 10 free, failed calls free, repeats charged) which explains the idempotentHint=false. However, it omits return-shape and rate/error behavior beyond the free-failure note.

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?

Front-loaded with purpose, limits, sources and a usage example before the payment details, and every sentence carries information. It is dense and packs commercial terms into the same block, which slightly dilutes readability at the tail.

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?

For a two-parameter read tool with no output schema, the description is close to complete: field limits, defaults, accepted identifier forms, data sources for price and 24h change, and billing all appear. Only the expected response structure and any failure/rate-limit specifics are left implicit.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning: ids are CoinGecko ids with enumerable examples, up to 25 are allowed, tickers like BTC also work, vs defaults to usd and supports up to 5 currencies, plus a worked example (ids=bitcoin,ethereum). This exceeds what the terse schema fields convey.

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 price of cryptocurrencies), names the data source (CoinGecko), gives both the id format and concrete examples (bitcoin, ethereum, solana, usd-coin), and bounds the operation (up to 25 ids, up to 5 currencies). The line 'price coins that are not on-chain tokens' separates it from the price_token/price_tokens siblings without naming them.

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?

Explicit when-to-use cases are given: price non-on-chain coins, value a portfolio across currencies, or check a 24-hour move. It doesn't name a specific sibling such as btc_price or hyperliquid_prices to route against, so the exclusion is implied rather than enumerated.

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