Skip to main content
Glama
ymylive
by ymylive

get_price

Retrieve current spot prices for one or more cryptocurrencies. Specify coin IDs and target currencies to get real-time values, with optional market cap, 24h volume, and price change data. Ideal for quick price checks.

Instructions

Get the current spot price of one or more cryptocurrencies.

Use this for the cheapest, fastest "what is X worth right now?" lookup. For historical prices, use get_market_chart or get_aggregated_ohlc. For real-time prices on a specific venue, use get_exchange_ticker.

Args: coin_ids: Comma-separated CoinGecko coin IDs, e.g. "bitcoin,ethereum,solana". IDs are NOT ticker symbols — call search first if unsure. vs_currencies: Comma-separated target currencies, e.g. "usd,eur,btc". include_market_cap: Include each coin's market cap in the response. include_24hr_vol: Include 24h trading volume. include_24hr_change: Include 24h price change percent. include_last_updated_at: Include unix timestamp of last update.

Returns: Mapping of {coin_id: {currency: price, ...}}. When the optional flags are enabled, additional fields like "_market_cap", "_24h_vol", "_24h_change", and "last_updated_at" appear alongside the price.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coin_idsYes
vs_currenciesNousd
include_market_capNo
include_24hr_volNo
include_24hr_changeNo
include_last_updated_atNo
Behavior4/5

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

With no annotations, the description carries full burden. It describes the return structure and notes that coin IDs are not ticker symbols. It does not mention rate limits, pagination, or error behavior, but provides sufficient behavioral clarity for a simple lookup tool.

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?

Well-structured with a clear purpose, usage note, parameter list, and return description. Slightly verbose but each sentence adds value; front-loaded with key information.

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?

Covers all parameters and return structure, including optional flags. Lacks mention of response size or rate limits, but is complete enough for typical usage given no output schema.

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

Parameters5/5

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

Schema description coverage is 0%, so description must compensate. It explains each parameter in detail (coin_ids, vs_currencies, optional flags) with examples and a critical note about coin IDs not being ticker symbols.

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?

Clearly states it gets current spot price of one or more cryptocurrencies. Distinguishes from sibling tools by specifying it's for the cheapest, fastest current price lookup, contrasting with historical (get_market_chart) and venue-specific (get_exchange_ticker) tools.

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

Usage Guidelines5/5

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

Explicitly recommends use for 'what is X worth right now?' and provides alternatives: for historical prices use get_market_chart or get_aggregated_ohlc, for real-time venue-specific prices use get_exchange_ticker.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ymylive/coin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server