Skip to main content
Glama
cnb-mcp

cnb-mcp

by AAnkacHH

CNB Quarterly Average Exchange Rates

cnb_exchange_rates_quarterly_averages

Retrieve quarterly average exchange rates by currency for all years or by year for all currencies, with year taking priority when both are supplied.

Instructions

Get quarterly average exchange rates. 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_quarterly_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.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the tie-break behavior ('year takes priority') when both parameters are supplied, but says nothing about what happens if neither is given (both parameters are optional) or what the returned rate values represent.

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, zero filler, and the core purpose is front-loaded before the parameter rules. Every sentence contributes a distinct, actionable fact.

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?

For a simple two-optional-parameter read tool with a fully documented schema and no output schema, the description covers purpose, both parameters' effect, and the mutual-exclusion rule. The remaining gap is the zero-parameter case, which an agent could plausibly hit given that nothing is required.

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 the baseline is 3, and the description earns above that by adding the precedence rule between 'year' and 'currency', which the schema does not encode. It does not, however, add format detail such as whether currency is case-sensitive beyond the schema pattern.

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 gives a specific verb and resource -- 'Get quarterly average exchange rates' -- and the 'quarterly average' qualifier implicitly separates it from the monthly/daily/cumulative siblings. It stops short of naming an alternative tool to route to, so the differentiation is by granularity wording only.

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 states clearly how to drive the call: pass 'currency' to sweep all years, or 'year' to sweep all currencies. What it lacks is tool-level routing guidance -- nothing tells an agent when to prefer cnb_exchange_rates_monthly_averages or cnb_exchange_rates_daily instead.

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