Skip to main content
Glama

ScrapeMole Pulse: FX rates (ECB), currency conversion, time zones, weather, Hacker News, public holidays and geocoding for AI agents: Currency conversion

fx_convert
Read-onlyIdempotent

Use to convert money amounts for quotes, invoices, expense reports or price comparisons: converts an amount from one currency to another at the ECB reference rate of the latest working day or of a given past date (rates since 1999-01-04; weekends/holidays fall back to the previous working day). Returns the converted amount, the rate used and the rate date. Paid tool: x402 USDC on Base, $0.001 per successful call; call without payment to receive the PaymentRequired object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget currency (ISO 4217).
dateNoHistorical date YYYY-MM-DD (default latest).
fromYesSource currency (ISO 4217).
amountNoAmount to convert (default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations by disclosing the payment model (x402 USDC on Base, $0.001 per successful call), the behavior when unpaid (returns a PaymentRequired object), the weekend/holiday fallback, and the return fields. This is exactly the behavioral context annotations cannot carry.

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?

Front-loaded with the action ('Use to convert money amounts...') and densely packed but every clause carries information: rate source, date semantics, fallback, return values, payment terms. Slightly long as a single run-on, but no filler sentences.

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 no output schema, the description compensates by naming the returned values (converted amount, rate used, rate date) and fully covers the paid-call flow. An agent has everything needed to invoke it correctly and interpret the response.

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 coverage is already 100%, so the baseline is 3, but the description adds real meaning: the date parameter's ECB-rate semantics, historical range since 1999-01-04, and the previous-working-day fallback. The amount default is left to the schema, so it is not fully additive.

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 (convert) and resource (money amounts between currencies) plus the rate source (ECB reference rate) and scope (rates since 1999-01-04). This clearly separates it from fx_latest and fx_history siblings, which the description implicitly contrasts by defining its own conversion behavior.

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?

Gives concrete use cases (quotes, invoices, expense reports, price comparisons) and the fallback rule for weekends/holidays, so an agent knows when this applies. It stops short of explicitly naming when to prefer fx_latest or fx_history instead, leaving some routing to inference.

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