Skip to main content
Glama

Investember financial data

Exchange rate

get_exchange_rate
Read-onlyIdempotent

Official reference exchange rate of a currency pair (European Central Bank, Federal Reserve or Bank of England, published once per business day), for the latest date or a past date, with an optional amount to convert. Not a live market quote.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "base": "<base>",
      "quote": "<quote>"
    },
    "name": "get_exchange_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseYesCurrency to convert from, ISO 4217 code.
dateNoBusiness day (YYYY-MM-DD). Without it, the latest published rate. On a day without a fixing, the last rate before it.
quoteYesCurrency to convert to, ISO 4217 code.
amountNoAmount of the base currency to convert.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds genuinely useful context beyond them: the data provenance (three central banks) and the once-per-business-day publication cadence, which explains staleness the annotations cannot express. It does not describe the fallback behavior on non-fixing days (that lives only in the schema) or the response shape.

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?

A single dense sentence with the resource and scope front-loaded, followed by a short negative qualifier. No filler and no repetition of the title; every clause carries information an agent needs.

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 read-only lookup with a fully documented schema and clarifying annotations, the description supplies provenance, cadence, and scope, which is almost everything needed to call it correctly. The remaining gap is the return shape (rate only vs. rate plus converted amount), which matters slightly given there is no output schema.

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, including the date fallback rule and ISO 4217 requirement; baseline 3 applies. The description contributes one piece of added meaning — that source coverage is limited to ECB/Fed/BoE, implying some pairs may be unavailable — but otherwise restates schema content.

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?

The description names a specific resource (reference exchange rate for a currency pair), the authoritative sources (ECB, Fed, BoE), the publication cadence (once per business day), and the scope (latest or a past date, optional conversion amount). The closing clause 'Not a live market quote' sharpens what the tool is not. It stops short of naming a sibling such as get_exchange_rate_history to draw the single-date vs. time-series boundary explicitly.

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?

Usage context is clear: this is for official daily fixings, not live quotes, and can be used for the latest or a historical date. The 'not a live market quote' note functions as a when-not-to-use signal. However, no sibling is named as the alternative for history or multi-pair lookups, so an agent must infer the routing from sibling names alone.

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