Skip to main content
Glama

fx_latest

fx_latest
Read-only

Official exchange rates from the European Central Bank reference set for ~30 currencies (USD, EUR, GBP, JPY, MXN, BRL, CAD, AUD, CHF, CNY, INR...): latest rates or any business day since 1999, for any base currency and an optional amount to convert. Price: $0.001 USDC per call (x402).

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": "fx_latest"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency code (default USD)
dateNoHistorical date YYYY-MM-DD (default: latest)
amountNoAmount to convert (default 1)
symbolsNoComma-separated target currencies (default: all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint, so the description's disclosure of the data provenance (ECB reference set) and the $0.001 USDC per call x402 pricing adds genuinely useful behavioral context that an agent must know before calling. It stops short of describing return structure or failure behavior for unsupported currencies/dates.

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?

A single dense sentence front-loads source, coverage, and capability, then closes with the cost, which is the right priority order for an agent. It is long but no clause is filler; a second sentence on return shape would be the only worthwhile addition.

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 4-parameter, zero-required, read-only tool with no output schema, the description covers source, currency universe, date range, base-currency flexibility, conversion, and cost. The remaining gap is what the response looks like and behavior for out-of-range dates or unsupported codes.

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%, so all four parameters are already documented in the schema. The description reinforces intent ('any base currency', 'optional amount to convert') and hints at an ~30-currency universe for symbols, but adds no format or validation detail beyond the schema.

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 names a specific verb and resource (official ECB reference exchange rates) and quantifies scope: ~30 currencies, latest or any business day since 1999, any base currency, optional conversion amount. An agent can tell this apart from rate tools sourced elsewhere (e.g. banxico) purely from the text.

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?

Coverage boundaries (ECB source, ~30 currencies, dates back to 1999) imply when the tool fits, and the pricing line warns of a per-call cost. However, there is no explicit when-to-use/when-not guidance or named alternative for non-ECB or unsupported currency cases.

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.

Resources