Skip to main content
Glama
edgedata-apis-mcp
by TnTIndie

fx_convert_and_rates

Retrieve official ECB or U.S. Treasury FX rates and convert amounts between currencies using base and target ISO codes.

Instructions

Get official ECB daily foreign exchange rates (30 major currencies) or U.S. Treasury reporting FX rates (140+ currencies).

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

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency ISO-3 code (default USD)
sourceNoOfficial FX source (default ecb; use treasury for VND/AED/SAR/TWD)
symbolsNoComma-separated target currencies (e.g. EUR,GBP,JPY,SGD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses provenance and cadence (ECB daily, U.S. Treasury reporting) and currency coverage, but omits return shape, whether only latest rates are available versus historical dates, and whether any conversion is performed despite 'convert' in the name.

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 efficient sentence with the core capability front-loaded and no filler. It could be tightened slightly by clarifying conversion behavior rather than listing currency counts, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-optional-parameter, no-output-schema tool, the definition covers the two sources but leaves the return payload and conversion semantics unexplained. An agent knows where the data comes from but not exactly what it will get back.

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 three parameters (base, source, symbols) are already documented, including the treasury-specific currency hint and defaults. The description only adds the currency counts per source, which is marginal value over structured fields, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ('Get official ECB daily foreign exchange rates') and names the two data sources with their currency coverage. The one ambiguity is the 'convert' half of the tool name: the description never says whether amounts are converted or only rates are returned, so an agent cannot fully confirm behavior from the text alone.

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 implies 'use this when you need FX rates from an official source' and offers a source choice, but gives no explicit when-to-use or when-not-to-use guidance and names no alternative sibling tool. The more actionable routing hint ('use treasury for VND/AED/SAR/TWD') lives in the schema, not the description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.