Skip to main content
Glama

National Bank of Ukraine FX & Bonds MCP

Get NBU historical FX rate

get_nbu_historical_fx_rate
Read-onlyIdempotent

Fetch the official National Bank of Ukraine UAH exchange rate for a specific historical calendar date.

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": {
      "date": "<date>"
    },
    "name": "get_nbu_historical_fx_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesHistorical date in YYYY-MM-DD or YYYYMMDD format (e.g. "2025-01-15").
currencyNoISO-3 currency code (default "USD"; e.g. "EUR", "GBP", "PLN").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds only the fact that the rate is official NBU data; it says nothing about weekend/holiday gaps (when NBU publishes no rate), behavior for unsupported currencies or out-of-range dates, or whether the result is a single rate or a table. These are real gaps for a historical-rate lookup, but useful context is present.

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?

It is a single front-loaded sentence with no filler, and the key scope constraint (single historical date) is stated immediately.

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 two-parameter read-only tool with 100% schema coverage and no output schema, the description covers the essentials but leaves the agent guessing on publication-calendar gaps and the shape of the returned rate. Complete enough to call, not complete enough to interpret results confidently.

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 coverage is 100%, with both the date format and the USD currency default already documented in the schema, so the baseline of 3 applies. The phrase "calendar date" mildly reinforces that the date parameter takes a day, not a timestamp, but it adds no format, range, or fallback detail beyond the schema.

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 verb (fetch), a specific resource (the official NBU UAH exchange rate), and a scope (a single historical calendar date), so the agent can tell it apart from a range-based or daily-list tool. It stops short of naming any sibling, so sibling differentiation comes mostly from the tool name rather than the prose.

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

Usage Guidelines2/5

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

The phrase "for a specific historical calendar date" implies a single-date lookup, which distinguishes it in spirit from daily/range siblings, but the description never states when to use this tool instead of get_nbu_daily_exchange_rates or get_nbu_currency_rate, and it lists no exclusions or prerequisites.

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.