Skip to main content
Glama

Stablecoin Gateways

Currency Converter (ECB)

fx_convert
Read-onlyIdempotent

Currency converter (ECB reference rates): convert an amount from one currency to one or more others, e.g. 250 USD to EUR, GBP and JPY, at the latest European Central Bank rate or any day in the last 90 days. Returns the rate, converted amount and rate date for each target. 30 currencies. Reference rates, not transaction rates. Source: ECB. Signed receipt. Price: $0.001 per call via x402 (USDC on Base or XRP on XRPL). Example arguments: {"from":"USD","to":"EUR,GBP,JPY","amount":"250"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesComma-separated target currencies (ISO 4217), 1-10
dateNoRate date YYYY-MM-DD within the last 90 days; default latest
fromYesSource currency (ISO 4217)
amountYesAmount to convert

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoConverted amounts and rates per target currency at the ECB rate date
receiptNoEd25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Paid result: { data, receipt }. Unpaid calls return an x402 PaymentRequired object instead (isError: true).",
      +  "properties": {
      +    "data": {
      +      "description": "Converted amounts and rates per target currency at the ECB rate date",
      +      "properties": {
      +        "amount": {},
      +        "conversions": {},
      +        "cross_rates_derived": {},
      +        "from": {},
      +        "note": {},
      +        "rate_date": {},
      +        "requested_date": {},
      +        "source": {},
      +        "window": {}
      +      }
      +    },
      +    "receipt": {
      +      "description": "Ed25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources