Skip to main content
Glama

Sidetrip Countries

fx_rates

Read-onlyIdempotent

Convert an amount with European Central Bank reference rates via Frankfurter. Defaults to the latest USD rates. Pass date as YYYY-MM-DD for the rate on that day, or the previous business day when the market was closed. No API key.

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_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoISO 4217 currency to convert from. Defaults to USD.
dateNoCalendar day YYYY-MM-DD. Omit for the latest published rate.
amountNoAmount of the base currency. Defaults to 1.
symbolsNoCurrencies to quote. Omit to return every ECB rate against the base.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond that: the upstream data source (ECB via Frankfurter), the weekend/holiday fallback to the previous business day, and the absence of an API key requirement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose, then the date semantics, then the auth note. Every sentence carries information an agent would otherwise have to guess at.

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 four-parameter, all-optional tool with full schema coverage and annotations, the definition covers source, defaults, date fallback, and auth. The one gap is the absence of an output schema combined with no description of the shape of the converted result (e.g., whether it returns a rates map alongside the converted amount).

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 100%, so the baseline is 3, but the description adds meaning the schema does not: that a requested date silently resolves to the previous business day when the market was closed, and that the no-parameter case returns latest USD rates. Defaults are restated from the schema but the fallback semantics are new.

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 an amount') plus the resource ('European Central Bank reference rates via Frankfurter'), and pins down the default base currency. Compared with the country/indicator siblings, an agent can immediately tell this is a currency-conversion endpoint.

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?

The description explains parameter usage well ('Pass date as YYYY-MM-DD', 'Defaults to the latest USD rates'), which implies when to supply a date. But it gives no selection guidance relative to siblings such as compare_countries or get_indicator, and no explicit exclusions or limitations on what conversions are supported.

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