Skip to main content
Glama

NBP gold price

nbp_gold_price

Get the official NBP gold price — PLN per 1 gram of 1000-fineness gold. Latest price by default; or one historical date; or the last N quotes (last_n, max 255); or a start_date/end_date range (max 93 days per query). Published every business day. 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. Gold data starts 2013-01-02.

Input Schema

NameRequiredDescriptionDefault
dateNoOne historical date (YYYY-MM-DD). Mutually exclusive with last_n and the range.
last_nNoReturn the last N published prices (1-255). Mutually exclusive with date and the range.
end_dateNoRange end (YYYY-MM-DD, inclusive). Requires start_date; span ≤ 93 days.
no_cacheNoForce a fresh NBP fetch and bypass this server's result cache. Default false.
start_dateNoRange start (YYYY-MM-DD, inclusive). Requires end_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: it discloses non-obvious behavior — weekend/holiday requests fall back to the most recent prior publication, and effectiveDate reports the date actually used. The historical boundary (data starts 2013-01-02) is another useful disclosure. It is silent on caching behavior and error/empty-result handling, which keeps it off a 5.

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 and front-loaded — scope and unit come first, modes second, edge behavior third. Minor redundancy between 'Published every business day' and 'NBP publishes only on Polish business days', which say nearly the same thing twice.

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 and no annotations, and the description does name at least one response field (effectiveDate) plus the date floor, which covers the main ambiguity. It stops short of indicating the return shape for the single-value versus list modes, leaving some guesswork about whether last_n/range return an array.

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, but the description adds genuinely schema-adjacent meaning: no parameters yields the latest price by default, and the modes are mutually exclusive alternatives rather than combinable filters. The remaining limits (255, 93 days) merely restate schema text.

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?

Names a specific resource and unit (official NBP gold price, PLN per 1 gram of 1000-fineness gold), which immediately distinguishes it from the currency-focused siblings (nbp_convert, nbp_exchange_rate, nbp_rate_series). The four supported query modes are stated in the same breath as the purpose.

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?

Enumerates the four calling modes (default latest, single date, last_n, start/end range) with their caps (255 quotes, 93-day span), so mode selection is clear. It does not explicitly say when to prefer a sibling such as nbp_rate_series, though the gold-only scope makes that largely self-evident.

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