Skip to main content
Glama

convert_fiat_currency_pair

Convert an amount between two fiat currencies with an exact cross rate using ISO currency codes, avoiding guessed exchange rates.

Instructions

Convert an amount between two fiat currencies with an exact cross rate (for example USD to VND or EUR to JPY) instead of guessing the rate.

Cost: $0.005 USDC per call.
Freshness: same cached feed as get_global_fx_and_macro_rates; ECB reference rates update once per business day.
Inputs: from_currency (3-letter ISO 4217 code, default 'USD'), to_currency (3-letter code, default 'VND'), amount (number greater than 0, default 100.0).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "convert_fiat_currency_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNo
to_currencyNoVND
from_currencyNoUSD

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does deliver real operational context: a per-call price of $0.005 USDC and a freshness guarantee (ECB reference rates update once per business day, same cached feed as the sibling). Gaps remain around invalid currency-code handling and conversion precision/rounding, which matter for a paid numeric 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?

Short labeled lines (Cost, Freshness, Inputs) front-load the most decision-relevant facts and read quickly. Minor redundancy in saying '3-letter ISO 4217 code' and then '3-letter code' for the second currency.

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?

An output schema exists, so return values need no explanation, and cost plus freshness are covered. For a 3-parameter paid conversion tool the only real omission is error/precision behavior, which is a reasonable edge rather than a core gap.

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 description coverage is 0%, and the description compensates well: it documents all three inputs, naming the ISO 4217 3-letter convention for both currency codes, giving defaults (USD, VND, 100.0), and constraining amount to greater than 0. It stops short of stating behavior for unsupported codes or non-positive amounts, so not a 5.

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?

States a specific verb and resource ('Convert an amount between two fiat currencies') and pins down the semantics with concrete pairs (USD to VND, EUR to JPY) plus the differentiator 'exact cross rate ... instead of guessing the rate'. An agent can immediately tell this apart from a rate-lookup sibling.

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?

Gives an implied when-to-use ('instead of guessing the rate') and mentions the sibling get_global_fx_and_macro_rates, but only to explain freshness, not to route between them. There is no explicit when-not guidance, e.g. whether a rate-only lookup without a conversion amount should use the sibling instead.

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