Skip to main content
Glama
cnb-mcp

cnb-mcp

by AAnkacHH

CNB Currency Converter

cnb_convert_currency

Convert amounts between currencies using official Czech National Bank daily fixing rates, including CZK pairs and cross-rates for a specified date.

Instructions

Convert between currencies using official CNB (Czech National Bank) exchange rates. Supports conversion between CZK and ~27 major currencies, as well as cross-rates (e.g. EUR to USD). Uses the daily fixing rate for the specified date.

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": {
      "amount": "<amount>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "cnb_convert_currency"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget currency ISO 4217 code (e.g. CZK, GBP, JPY).
dateNoDate for the exchange rate in YYYY-MM-DD format. Defaults to today (latest available fixing).
fromYesSource currency ISO 4217 code (e.g. EUR, USD, CZK).
amountYesAmount to convert. Must be greater than zero.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.5/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 behavioral burden. It usefully discloses the rate source (official CNB daily fixing) and the supported currency universe (~27 majors plus cross-rates), but omits whether weekend/holiday dates fall back to the prior fixing, rounding/precision of the converted amount, and how errors surface for unsupported pairs.

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 with the core capability front-loaded, followed by scope and rate-source detail. No filler, and every sentence adds distinct information.

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 computational tool with no output schema, the description should say something about what comes back — the converted amount, the applied rate, currency pair echo, or precision. It covers inputs and rate source adequately but leaves the return shape entirely undocumented, which is a meaningful gap for a compute tool.

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 all four parameters are already documented, establishing a baseline of 3. The description adds modest meaning by clarifying that `date` selects the fixing rate date rather than a transaction date, but contributes nothing beyond the schema for amount, from, or to.

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 ("Convert between currencies using official CNB exchange rates") and scopes it to CZK vs ~27 currencies plus cross-rates, which is enough for an agent to tell it apart from the sibling rate-listing tools. It stops short of naming those siblings explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines3/5

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

The description implies when this is appropriate (you need a converted amount, not a rate table) and notes the daily fixing is used for the specified date. However, it offers no explicit routing guidance versus the many cnb_exchange_rates_* siblings and no exclusions, such as what happens with unsupported currency codes or non-business dates.

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