Skip to main content
Glama

Cbr Ru Exchange Rates

cbr_ru_exchange_rates
Read-onlyIdempotent

Bank of Russia official exchange rates: roubles per "nominal" units of foreign currency (most per 1, some such as JPY or KZT per 100 or more; each row also gives rub_per_unit). Latest by default, or a "date" (the bank sets each day's rates in advance and repeats the last set on weekends and holidays: rates_date says which day the rates belong to). "currency" is one ISO code or a comma list for a single date; a range (start_date/end_date, max 366 days) needs exactly one currency. A range with no published rates returns count 0 with an empty_reason; an unknown currency is an error.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currency": "USD",
      "end_date": "2026-11-13",
      "start_date": "2026-11-02"
    },
    "name": "cbr_ru_exchange_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOne date, YYYY-MM-DD (from 1992-07-01).
currencyNoISO 4217 code such as USD, EUR, CNY, or a comma list for a single date; omit for all published currencies. Required (one code) for a range.
end_dateNoRange end, YYYY-MM-DD (default today).
start_dateNoRange start, YYYY-MM-DD.

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
quoteNo
ratesNo
sourceNo
nominalNo
currencyNo
requestedNo
data_as_ofNo
rates_dateNo
empty_reasonNo
observationsNo
latest_observationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses non-obvious behavior: the bank publishes rates in advance and repeats the last set on weekends/holidays, rates_date indicates the actual effective day, ranges are capped at 366 days, empty ranges return count 0 with an empty_reason, and an unknown currency raises an error. These are exactly the operational details an agent cannot infer from annotations.

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?

It is front-loaded with the core resource and packs only substantive constraints, with no filler. The density and nested parentheticals make it slightly harder to scan than a bulleted or sentence-per-parameter layout would be.

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

Completeness5/5

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

For a four-parameter read tool with an output schema, the description covers everything an agent needs: default vs. date vs. range modes, the currency/range coupling, the 366-day limit, and the empty/error outcomes. Return-value structure is correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description adds real meaning: the nominal-unit convention (some currencies quoted per 100 or more), the rule that a comma list of currencies is only valid for a single date, and the requirement of exactly one currency for a range. These interactions between parameters are not expressible in the flat schema.

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?

The description opens with a specific resource and dataset — Bank of Russia official exchange rates — and immediately disambiguates the unit semantics ('roubles per nominal units', 'rub_per_unit'). This is clearly a rate-retrieval tool, distinguishable from siblings like cbr_ru_key_rate (policy rate) and cbr_ru_series_list (metadata).

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?

It clearly states the default behavior ('latest by default'), the single-date mode, and the range mode, plus the key constraint that a range requires exactly one currency. It does not compare against sibling tools or say when another CBR tool would be preferable, which keeps it below a 5.

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.