Skip to main content
Glama

Динамика курса валюты ЦБ РФ

cbr_rate_history
Read-onlyIdempotent

Track official Bank of Russia exchange-rate history for one currency across a date range, with daily values and summary change. Use it to chart rate moves or choose a conversion date.

Instructions

Как менялся официальный курс одной валюты ЦБ РФ за период: по дням (points: date, per_unit_rub) и сводка — first_rub, last_rub, min_rub, max_rub, change_pct. Используйте для вопросов «как вырос доллар за месяц», графиков и выбора даты конвертации; курс на одну дату — cbr_rates, пересчёт суммы — currency_convert. Без from/to берутся последние 30 дней; ЦБ публикует курс только по рабочим дням, поэтому точек меньше, чем дней. Неизвестный код валюты вернёт ошибку со списком доступных. Источник cbr.ru, без токена, кэш на час; только чтение.

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": {
      "code": "<code>"
    },
    "name": "cbr_rate_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoКонец периода, ГГГГ-ММ-ДД (по умолчанию сегодня)
codeYesКод валюты ISO, например USD
fromNoНачало периода, ГГГГ-ММ-ДД (по умолчанию 30 дней назад)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the read-only/idempotent profile, and the description layers on non-obvious behavior: default 30-day window, business-day-only publishing so points < days, unknown-code error returning the available list, source cbr.ru, no token, one-hour cache. This is context the annotations cannot convey.

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?

Dense but well ordered: purpose, return shape, usage/alternatives, defaults, edge cases, provenance. Every sentence contributes, though the return-field enumeration and provenance clause make it longer than strictly necessary for selection.

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?

With no output schema, the description carries the return contract (points and summary fields) itself, and it covers defaults, error behavior, and data-source caveats. An agent has everything needed to call it correctly and interpret the result.

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% and both optional parameters carry their own format/default docs, so the schema does the heavy lifting. The description restates the default-window behavior but adds no new syntax or constraint beyond it, matching the baseline 3.

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 a precise verb+resource: how the official CBR rate of one currency changed over a period, and even enumerates the return shape (points: date, per_unit_rub; summary first_rub/last_rub/min_rub/max_rub/change_pct). It explicitly contrasts with cbr_rates and currency_convert, so the agent can route without opening schemas.

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

Usage Guidelines5/5

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

Gives concrete triggering questions ('как вырос доллар за месяц', graphs, picking a conversion date) and names the two alternatives with the condition that selects each: cbr_rates for a single date, currency_convert for amount conversion. No inference required.

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