Skip to main content
Glama

BNR exchange rate (RON reference rate)

get_bnr_exchange_rate
Read-onlyIdempotent

BNR reference exchange rates in RON from 2005-01-03: one date (latest fixing on/before the date; all currencies or one), or a daily series for one currency with from/to (max 366 days). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.

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": "get_bnr_exchange_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoHistory end, YYYY-MM-DD. Range is at most 366 days
dateNoFixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set
fromNoHistory start, YYYY-MM-DD. Sending from or to returns a daily series instead of one date
currencyNoISO 4217 code, e.g. EUR, USD, GBP. History defaults to EUR. Omit on a single date to get every currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / currency / description
      Previous value: -"ISO code, e.g. EUR, USD, GBP (history default EUR)"New value: +"ISO 4217 code, e.g. EUR, USD, GBP. History defaults to EUR. Omit on a single date to get every currency"
    • changedInput schema / properties / date / description
      Previous value: -"YYYY-MM-DD; default latest"New value: +"Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set"
    • addedInput schema / properties / from / description
      Added value: +"History start, YYYY-MM-DD. Sending from or to returns a daily series instead of one date"
    • addedInput schema / properties / to / description
      Added value: +"History end, YYYY-MM-DD. Range is at most 366 days"
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world. The description adds real operational context: costs 0 credits, works without an API key but keyless calls are rate-limited per IP, and values are verbatim from the BNR source. It does not describe response shape or rate-limit thresholds, which keeps it below 5.

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 densely packed sentence that front-loads the resource and coverage period, then modes, then cost/auth, then provenance. Every clause carries information, though the stacked parentheticals make it slightly harder to scan than a bulleted or multi-sentence layout.

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?

With no required parameters and no output schema, the description does enough: it defines the two result shapes (one date/all currencies or one, or a daily series), the date-range constraint, cost, and keyless rate limiting. Return field details are the only unaddressed area, which is minor for a fixed-format reference feed.

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 baseline is 3, but the description adds a genuine semantic nuance not in the schema: a requested date yields the latest fixing on or before that date (weekend/holiday fallback). It also confirms that omitting currency on a single date returns all currencies.

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 the exact resource (BNR reference exchange rates in RON), the coverage start (2005-01-03), and the two distinct retrieval modes (single date vs. daily series). No sibling tool in the list touches FX rates, and the description makes the scope unmistakable.

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?

Explicitly explains how to pick a mode: pass from/to for a daily series for a single currency, otherwise a single date. Notes the 366-day cap and that date is ignored when from/to is set. Lacks an explicit 'when not to use' note, but there is no competing sibling to route away from.

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.