Skip to main content
Glama

Crypto market data (pay-per-call)

market.crypto
Read-onlyIdempotent

Crypto market-data lookups (CoinGecko-sourced pricing and market data), paid per call in USDC/USDm directly from the caller's own wallet via the x402 protocol — no Abstraxn account needed. Pick one action:

  • search ($0.001): fuzzy-search coins by name/symbol. Requires q. Call this first to resolve a coin id before using price_feed or historical_data, both of which need an id (e.g. "bitcoin"), not a ticker.

  • price_feed ($0.001): current price (and optionally 24h change / market cap) for one or more coins. Requires ids (comma-separated coin ids). Optional currencies (comma-separated fiat codes, default "usd"), include_24h (default true), include_mcap (default false).

  • market_data ($0.002): coins ranked by market cap (or another order) — use for "top N coins" / market overview questions. Optional currency (default "usd"), category, order (default "market_cap_desc"), limit (1-250, default 100), page (default 1).

  • historical_data ($0.003): historical price/market cap/volume series for one coin. Requires id. Optional currency (default "usd"), days (lookback window or "max", default 30), interval (e.g. "daily").

  • trending ($0.001): currently trending coins by search interest. No extra parameters.

  • token_prices ($0.005): DEX-derived prices for up to 200 tokens in one call. Requires tokens, an array of {chain, token_address} objects.

Prices above are indicative — the exact charge for a given call is always whatever the live payment challenge specifies for that request. The first call (no paymentPayload) returns paymentRequired; retry with the same arguments plus paymentPayload to complete payment and get the real result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNosearch: coin name or symbol to search for, e.g. "btc".
idNohistorical_data: coin id, e.g. "bitcoin".
idsNoprice_feed: comma-separated coin IDs, e.g. "bitcoin,ethereum".
daysNohistorical_data: lookback window in days, or "max". Default 30.
pageNomarket_data: page number, default 1.
limitNomarket_data: max results, default 100.
orderNomarket_data: sort order, default "market_cap_desc".
actionYesWhich market-data operation to perform.
tokensNotoken_prices: array of {chain, token_address} pairs to price, max 200 entries.
categoryNomarket_data: category filter, e.g. "decentralized-finance-defi".
currencyNomarket_data / historical_data: currency code, default "usd".
intervalNohistorical_data: data granularity, e.g. "daily".
currenciesNoprice_feed: comma-separated fiat currency codes, default "usd".
include_24hNoprice_feed: include 24h price change (default true).
include_mcapNoprice_feed: include market cap (default false).
paymentPayloadNox402 payment payload from a previous `paymentRequired` challenge. Omit on the first call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
paymentRequiredNo

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses key behavioral traits beyond annotations: the two-step payment protocol ('first call returns paymentRequired; retry with the same arguments plus paymentPayload'), the need for coin IDs rather than tickers, and the indicative pricing model. It also clarifies data source (CoinGecko) and that no account is needed, adding significant context beyond the readOnlyHint annotation.

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 well-structured with a clear front-loaded overview, bulleted action list with prices and parameters, and a separate payment flow explanation. Every sentence adds value, and the length is justified by the tool's complexity (six actions, 16 params, payment protocol). No fluff or repetition.

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?

Given the tool's complexity and the presence of an output schema, the description is complete: it covers all six actions, their parameters, defaults, required vs optional, pricing, the payment challenge flow, and important usage notes (e.g., search-first workflow, ID not ticker). It also acknowledges that exact charges come from the live challenge, which is essential for correct invocation.

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?

The schema already has 100% parameter descriptions, but the description adds action-level parameter semantics: it groups parameters by action, states which are required (q, ids, id, tokens), gives examples ('bitcoin'), and clarifies defaults and constraints (e.g., 'limit 1-250, default 100'). This goes beyond the schema, though some information is redundant with schema descriptions.

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?

The description clearly states 'Crypto market-data lookups (CoinGecko-sourced pricing and market data)' and enumerates six specific operations (search, price_feed, market_data, historical_data, trending, token_prices). This specific verb+resource combination distinguishes it from sibling tools like network.token_price by highlighting its multi-action, CoinGecko-sourced, pay-per-call nature.

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 provides detailed guidance for when to use each action, such as 'Call this first to resolve a coin id before using price_feed or historical_data' and 'use for "top N coins" / market overview questions'. It explains selection criteria, required parameters, and the payment flow. However, it does not explicitly mention alternative sibling tools or when not to use this tool, so it falls short of full cross-tool differentiation.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Tools are grouped by domain (market, network, places, social, travel, web3) and each has a distinct purpose. However, within the 'network' group, tools like token_price, token_info, and market.crypto/price_feed could be confused for similar price lookups, but descriptions clarify their differences (free vs paid, DEX vs CoinGecko).

Naming Consistency3/5

The naming uses a dot-separated domain prefix (e.g., market.crypto, network.blocknumber, places.lookup) which is consistent in structure, but the action selection within each tool (e.g., search vs price_feed) is not reflected in the tool name itself. This hybrid approach is clear but not strictly uniform.

Tool Count4/5

With 11 tools covering a wide range of domains (crypto, network, places, social, travel, web3), the count is appropriate for a multi-purpose server. Each domain has a focused set of actions, so the tool count feels well-scoped without being excessive.

Completeness3/5

The server covers a broad but shallow surface across multiple domains. For example, crypto market data is well-covered, but places lacks a reverse geocode or photo tool. Travel has only flight and hotel search, missing car rentals or activities. The network domain is relatively complete for read operations, but lacks write support beyond prepare_transfer.

Resources