Skip to main content
Glama
akshaygp18

crypto-mcp-server

by akshaygp18

Convert a crypto amount

convert_crypto_amount
Read-only

Convert an amount of one cryptocurrency into another currency at the current market rate. Specify the coin ID, amount, and target currency to get the conversion.

Instructions

Convert a quantity of one cryptocurrency into another currency at the current rate, e.g. 2.5 ETH in USD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesQuantity of the source coin to convert.
coin_idYesSource CoinGecko coin id, e.g. 'ethereum'.
vs_currencyNoTarget currency code, e.g. 'usd'.usd

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesQuantity of the source asset converted.
from_coinYesSource CoinGecko coin id.
unit_priceYesPrice of one source unit in the target currency.
to_currencyYesTarget currency code.
retrieved_atYesUTC timestamp of the underlying quote.
converted_valueYesamount x unit_price.
converted_displayYesFormatted converted value.
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. The description adds 'at the current rate' to indicate real-time data, but doesn't cover error behavior or fallback rates. This matches the baseline for annotation-covered read tools.

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?

One sentence plus an example, no fluff. It is front-loaded and every word contributes to understanding the tool.

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 simple conversion tool with three well-described params and an output schema (not shown but present), the description is nearly complete. The only minor gap is not explicitly contrasting with get_coin_price, but the example indirectly does this.

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?

Schema coverage is 100% with per-parameter descriptions. The example '2.5 ETH in USD' adds a concrete mapping to amount, coin_id, and vs_currency, slightly enriching the schema baseline of 3.

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 converts a crypto amount to another currency at the current rate, with a concrete example ('2.5 ETH in USD'). This distinguishes it from siblings like get_coin_price (which probably returns price only) and historical tools.

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 example and wording imply this is for live conversion of a specific amount, which is enough contextual guidance. It doesn't explicitly exclude alternatives but the use case is clear relative to siblings.

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/akshaygp18/crypto-mcp-server'

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