Skip to main content
Glama
cnb-mcp

cnb-mcp

by AAnkacHH

CNB Cumulative Monthly Average Exchange Rates

cnb_exchange_rates_cumulative_averages

Retrieve cumulative monthly average exchange rates from the start of the year for a specific currency across years or all currencies for a given year.

Instructions

Get cumulative monthly average exchange rates (running average from start of year). Provide 'currency' for all years of that currency, or 'year' for all currencies in that year. If both are given, year takes priority.

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

Input Schema

NameRequiredDescriptionDefault
yearNoYear (e.g., 2024). Returns all currencies for this year.
currencyNoISO 4217 currency code (e.g., EUR, USD). Returns all years for this currency.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It implies a read-only lookup and usefully discloses the filter-precedence behavior, but it never says what happens when neither parameter is provided (both are optional) — an unspecified default scope is a real behavioral gap. Return shape, ordering, and coverage of the underlying data are also unstated.

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?

Three short sentences, front-loaded with the resource and its defining trait, followed by the parameter routing rules. Every sentence carries information; there is no filler and nothing buried.

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 simple two-parameter lookup with no output schema, the description covers the filtering semantics well. The notable omission is the zero-argument case: with both parameters optional and no stated default, an agent cannot know what an unfiltered call returns or whether it is even valid.

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 the schema already documents both parameters, which sets the baseline at 3. The description adds some value by stating the two filtering modes and the precedence rule, but the individual parameters are already well explained in the schema itself.

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?

States a specific verb and resource ('Get cumulative monthly average exchange rates') and defines the key qualifier as 'running average from start of year', which is genuinely distinguishing. It does not, however, explicitly contrast itself with the monthly_averages or quarterly_averages siblings, leaving the agent to infer that this one is cumulative while those are not.

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?

Gives clear conditional guidance: supply 'currency' to get all years for that currency, supply 'year' to get all currencies for that year. It also resolves the ambiguous overlap case with 'If both are given, year takes priority', which is exactly the kind of routing rule an agent needs. It stops short of naming an alternative sibling or a when-not-to-use case.

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