Skip to main content
Glama

NBP MCP

NBP currency rate vs PLN

nbp_exchange_rate

Get the official NBP rate for one currency against PLN (Polish złoty) — the latest rate by default, or the rate in force on a historical date. Tables 'a'/'b' return the mid rate; table 'c' returns bid/ask. NBP publishes only on Polish business days — on weekends/holidays the request falls back to the most recent preceding publication; effectiveDate in the response shows the date actually used. Use nbp_rate_series for a multi-day history.

Input Schema

NameRequiredDescriptionDefault
codeYesThree-letter ISO 4217 currency code (e.g. USD, EUR, CHF). Case-insensitive.
dateNoOptional historical date (YYYY-MM-DD). Omit for the latest rate.
tableNoNBP table: 'a' (default) = official mid rates of ~35 major currencies, published every business day; 'b' = mid rates of ~115 less-traded currencies, published Wednesdays; 'c' = bid/ask (buy/sell) rates of major currencies, published every business day.
no_cacheNoForce a fresh NBP fetch and bypass this server's result cache. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does it well: it discloses the weekend/holiday fallback to the last preceding publication, that effectiveDate in the response shows the date actually used, and that table 'c' returns bid/ask rather than a mid rate. It does not discuss caching behavior beyond what the schema's no_cache field implies, but the key gotcha for an agent (silent date fallback) is surfaced.

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?

Four compact sentences, front-loaded with the core action and default, then table semantics, then the fallback caveat, then the alternative tool. No filler and nothing buried.

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?

No output schema exists, yet the description names a return field (effectiveDate) and its meaning, which is exactly the gap that would otherwise hurt. The only shortfall is the lack of differentiation from the other rate-related siblings (nbp_convert, nbp_exchange_rates).

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 baseline is 3, but the description adds behavior the schema does not: that 'date' is the rate 'in force on' that day rather than a strict publication date, and the mid-vs-bid/ask consequence of the table choice. That is meaningful semantics beyond the enum and pattern already documented.

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 specific verb and resource ('Get the official NBP rate for one currency against PLN') and immediately scopes the two modes: latest by default or a historical date. It also names the sibling it is not (nbp_rate_series) for multi-day history, so an 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 Guidelines4/5

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

Explicitly routes multi-day history to nbp_rate_series and explains the latest-vs-historical selection via the date parameter. It does not distinguish itself from nbp_convert or nbp_exchange_rates (plural), which remain plausible alternatives for a converting or bulk-rates use case.

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.

Resources