Skip to main content
Glama

Crypto Get Exchange Rate

crypto_get_exchange_rate
Read-onlyIdempotent

Convert between fiat currencies (e.g., USD to EUR). Returns conversion rate and timestamp.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "EUR",
      "from": "USD"
    },
    "name": "crypto_get_exchange_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget currency code (e.g., EUR, JPY, GBP)
fromYesSource currency code (e.g., USD, EUR, GBP)
amountNoAmount to convert (default: 1)

Output Schema

NameRequiredDescriptionDefault
toYesTarget currency code (uppercase)
fromYesSource currency code (uppercase)
rateYesExchange rate from source to target
amountYesAmount to convert
convertedYesConverted amount (rounded to 2 decimals)
last_updatedYesLast update timestamp (UTC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds that a timestamp accompanies the rate, which is mild extra context, but it does not clarify whether the optional amount parameter changes the response (converted amount vs. bare rate) — a real ambiguity for an idempotent conversion tool.

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?

Two short sentences: purpose first, return shape second. No filler, no redundancy, and the example is embedded rather than appended as a separate paragraph.

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?

With an output schema present, the description needn't enumerate return fields, and annotations cover the safety profile, so the definition is nearly sufficient for a 3-parameter tool. The only meaningful omission is the interaction between the amount parameter and the returned value.

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?

Schema description coverage is 100%, with each of from, to, and amount documented inline including the default of 1, so the schema carries the semantic load. The description only restates that the inputs are currency codes and adds no format, casing, or supported-currency guidance beyond the schema examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

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

The description names a specific verb and resource ("Convert between fiat currencies") and gives a concrete example pair (USD to EUR), which distinguishes it from the sibling crypto-price/history tools that operate on assets rather than currency pairs. It stops short of explicitly contrasting itself with those siblings, so it lands at 4 rather than 5.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over get_crypto_price, get_crypto_history, or any other rate-oriented sibling, and no stated prerequisites or exclusions. The agent must infer the use case entirely from the one-line purpose.

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.