Skip to main content
Glama
CryptoAPIs-io

Crypto APIs Market Data MCP Server

market_data_exchange_rates

Get exchange rates between two crypto assets or fiat currencies using asset symbols (e.g., BTC to USD) or asset IDs. Retrieve current market data for any asset pair.

Instructions

Market Data exchange rates.

Actions: • get-exchange-rate-by-asset-symbols: Get exchange rate between two assets by symbol (e.g. BTC, USD) • get-exchange-rate-by-asset-ids: Get exchange rate between two assets by asset ID

Credits by action (source: OpenAPI): • get-exchange-rate-by-asset-ids: 10 • get-exchange-rate-by-asset-symbols: 10

Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
contextNoOptional context for the request - echoed back in response
toAssetIdNoTo asset ID - for get-exchange-rate-by-asset-ids
fromAssetIdNoFrom asset ID - for get-exchange-rate-by-asset-ids
toAssetSymbolNoTo asset symbol (e.g. USD) - for get-exchange-rate-by-asset-symbols
fromAssetSymbolNoFrom asset symbol (e.g. BTC) - for get-exchange-rate-by-asset-symbols
Behavior3/5

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

The description discloses credit costs per action and notes that credits are indicative, with actual credits returned in response headers. Since no annotations are provided, the description carries the burden, but it does not mention whether the tool is read-only, likely response format, or error behavior.

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?

The description is well-structured with bullet points for actions and credits, and front-loaded with 'Market Data exchange rates.' The credit list is slightly redundant since both actions cost the same, but overall it remains concise and scannable.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description should provide more context. It lists actions and credits but lacks guidance on parameter grouping, response structure, error handling, or examples. The tool is simple enough that this is acceptable but leaves gaps.

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?

The schema already covers all parameters with descriptions, so baseline is 3. The description adds examples like BTC and USD, but does not clarify which parameters are required together or how the action field dictates parameter usage.

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 the tool provides exchange rates, with two specific actions 'get-exchange-rate-by-asset-symbols' and 'get-exchange-rate-by-asset-ids' that list the verb and resource. This differentiates it from sibling tools like market_data_metadata, which focus on metadata.

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?

The description makes it clear that exchange rates are the domain, and the two actions are defined with their parameters. However, it does not explicitly state when to use one action over the other or mention alternative tools for non-exchange-rate needs.

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/CryptoAPIs-io/cryptoapis-mcp-market-data'

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