Skip to main content
Glama
NBP MCP Server

NBP MCP Server

by mpryc

get_gold_price_history

Retrieve historical gold prices in PLN per gram for a specified date range using official NBP data.

Instructions

Get historical gold prices within a date range.

Args: start_date: Start date in YYYY-MM-DD format (ISO 8601) end_date: End date in YYYY-MM-DD format (ISO 8601)

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_gold_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
start_dateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly does not. It omits data granularity (daily vs intraday), timezone, whether the range is capped, and any rate limits or data-source caveats. Return shape is covered by the output schema, but the operational traits an agent needs to call it confidently are absent.

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?

The purpose sentence is front-loaded and the parameter block is compact with no filler. The Args listing duplicates the parameter names from the schema, but the format detail it adds justifies the space.

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 two-parameter read tool with an output schema already documenting return values, the description covers purpose and input formats adequately. The remaining gap is date-boundary semantics (inclusive/exclusive end date, allowed range), which is a minor but real omission.

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 description coverage is 0% — the properties carry only generic titles — so the description meaningfully compensates by specifying the YYYY-MM-DD / ISO 8601 format for both parameters. It does not say whether end_date is inclusive or how ranges are bounded, which keeps it from a 5.

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 names a specific verb and resource ('Get historical gold prices') plus a scope constraint ('within a date range'), which separates it from a plain current-price tool. It does not explicitly name the sibling alternatives (get_gold_price, get_gold_price_last_n), so differentiation is implied rather than stated.

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 date-range framing implies when this tool is appropriate versus a latest-price tool, but the description never states the condition or names an alternative. An agent must infer the usage boundary from the tool name alone.

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