Skip to main content
Glama

Convert Currency

convert_currency
Read-only

Convert between fiat currencies (USD, EUR, GBP, etc.) and crypto assets (BTC, ETH, USDC, SOL, etc.). Returns the converted amount and exchange rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount to convert
to_currencyYesTarget currency (e.g. 'USD', 'EUR', 'BTC')
from_currencyYesSource currency (e.g. 'ETH', 'USD', 'BTC')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateYes
amountYes
sourceYes
to_currencyYes
from_currencyYes
converted_amountYes

TDQS

A3.9/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes the tool as non-mutating. The description adds that the tool returns both the converted amount and the exchange rate, which is useful context, but it does not disclose any potential caveats such as rate sourcing, latency, or supported currency limitations. With annotations covering the safety profile, this is adequate but not exceptional.

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 a single, compact sentence that efficiently conveys the tool's purpose and output. It avoids unnecessary words and front-loads the key information, making it easy for an agent to parse.

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?

For a straightforward converter with a simple parameter set and an output schema, the description covers the essential aspects: what it converts, what it returns, and the types of assets involved. It lacks discussion of edge cases or rate specifics, but these are not critical for a basic read-only tool. The description is complete enough to guide invocation.

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 input schema provides descriptions for all three parameters (amount, from_currency, to_currency) with examples and constraints, achieving 100% coverage. The tool description does not add further semantic detail beyond what the schema offers, 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool converts between fiat currencies and crypto assets, using the specific verb 'convert' and naming the resource ('currency' and 'assets'). It also specifies the return values (converted amount and exchange rate), which distinguishes it from price-lookup tools like get_token_price.

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

Usage Guidelines3/5

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

The description implies the tool is for currency conversion but does not explicitly mention when to prefer it over sibling tools such as get_token_price or get_dex_quote. No exclusions or alternative usage scenarios are provided, leaving the agent to infer the appropriate context from the tool's name and description.

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

A3.9/5.0
Disambiguation4/5

Most tools target distinct blockchain/DeFi resources and actions. A few pairs like get_lending_rates vs get_yield_rates and get_defi_positions vs get_liquidation_risk have overlapping boundaries, but detailed descriptions and explicit redundancy notes (e.g., get_eth_balance vs get_wallet_portfolio) reduce confusion.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (e.g., get_block, convert_currency, decode_transaction). The only minor deviations are noun-first names like http_fetch and web_search, but the style is uniform and predictable.

Tool Count2/5

At 27 tools, the server exceeds the 25-tool threshold for 'too many' and feels heavy. While the breadth of DeFi and crypto features justifies some size, the number is unwieldy for an agent to scan efficiently and could be consolidated (e.g., merging balance-related tools).

Completeness4/5

The tool surface covers a wide range of blockchain data: balances, prices, TVL, yields, DEX quotes, gas, block/transaction details, approvals, and DeFi positions. Gaps include lack of wallet transaction history and NFT support, but these are beyond the server's clear focus on read-only DeFi analytics.

Resources