Skip to main content
Glama

fx_convert

Read-onlyIdempotent

Convert an amount at the ECB's published rate — Convert between 30+ currencies at the European Central Bank's daily reference rate, for today or any past date. Returns the converted amount, the per-unit rate and the date the rate is actually from — the ECB publishes on business days only, so a weekend date answers with the previous business day and says so instead of pretending. Reference rates for accounting and reporting, not tradable quotes. Required inputs: from, to. Priced $0.002 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No wallet or API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget currency (or several, comma-separated)
dateNoDate (optional, YYYY-MM-DD)
fromYesSource currency
amountNoAmount (optional, default 1)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the return contents (converted amount, per-unit rate, actual rate date), the business-day fallback behavior, and the fact that the tool explicitly reports the true rate date rather than silently using a stale date. It also adds pricing and authentication context. No contradiction with annotations.

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?

The description is dense and information-rich, front-loading the main action and then covering returns, caveats, use case, required inputs, pricing, and auth. There is minor redundancy in starting with 'Convert an amount' and then repeating 'Convert between', but every sentence otherwise earns its place.

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?

With an output schema present, the description covers everything else needed to call the tool correctly: supported currencies, date semantics, business-day behavior, intended use case, required parameters, pricing, and the fact that no wallet or API key is needed. The annotation set and schema already handle safety and return structure.

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 the schema already documents from, to, date, and amount. The description adds the ECB reference-rate context and implies that amount is optional with default 1 only through the schema, not the description. It confirms required inputs but does not substantially enrich parameter meaning 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 opens with a specific verb and resource: 'Convert an amount at the ECB's published rate'. It clearly scopes the tool to 30+ currencies at the ECB daily reference rate for today or any past date, which distinguishes it from price or quote tools among the siblings.

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

Usage Guidelines4/5

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

The description explicitly says these are 'reference rates for accounting and reporting, not tradable quotes', giving a clear when-to-use and when-not-to-use signal. It also explains weekend behavior with business-day fallback. It stops short of naming a specific sibling alternative, so it lacks the full explicit alternatives routing of a 5.

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