Skip to main content
Glama

crypto_price

Crypto price and token price in USD with 24h change and market cap for one or more CoinGecko ids (bitcoin, ethereum, solana, ...). Use it when an agent needs a current price before quoting or sizing a trade. Price: 0.001 USDC per call over x402 on Base or Solana.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
vsNoExample: usd
idsNoExample: bitcoin,ethereum

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does useful work by disclosing the pricing/payment model: 0.001 USDC per call over x402 on Base or Solana. It also lists the returned data fields. It stops short of covering rate limits, caching/liveness guarantees, or authentication details, but the cost disclosure is strong behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tight sentences. The core function and fields come first, followed by the usage condition and payment model. Every sentence adds useful information without repetition.

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 low-complexity price lookup with no output schema, the description is largely complete: it names the data returned, the id format, the usage context, and the payment cost. A minor gap is that both schema parameters are optional, but the description implies ids are needed for a meaningful result without explaining default behavior when omitted.

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 both parameters are already documented. The description adds some meaning by clarifying CoinGecko ids and that ids can be plural/comma-separated, but the schema examples already convey most of this, so the baseline of 3 is appropriate.

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 uses a specific verb-and-resource framing: it returns crypto/token prices in USD with 24h change and market cap for CoinGecko ids. It clearly distinguishes itself as a price lookup tool from the evm_* and dex_quote siblings, though it does not explicitly name or contrast those alternatives.

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 a concrete usage condition: use when an agent needs a current price before quoting or sizing a trade. That is clear context, but it does not state when not to use it or explicitly compare it with dex_quote, which is the closest sibling.

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.