Skip to main content
Glama

Gold & commodities: One product over time

gold_getGoldPriceHistory
Read-onlyIdempotent

One product over time

One product's intrinsic value on every NBP business day between start and end (default: the last 30 days; at most 366 days), since 2013-01-02.

GET /v1/gold/prices/{product} on Gold & commodities (SBX-GOLD). Costs 1 credit per call.

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": {
      "product": "<product>"
    },
    "name": "gold_getGoldPriceHistory"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD. Default: today.
startNoYYYY-MM-DD.
productYesA product id from /gold/products, e.g. gram-24k or ceyrek.
currencyNo`TRY` (default), `USD` or `EUR`.TRY

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), and the description adds genuinely new behavior: a cost of 1 credit per call, the underlying endpoint SBX-GOLD, and the fact that values exist only on NBP business days, which implies gaps on weekends and holidays. It does not describe pagination or response ordering, which keeps it below 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?

The body is three short, front-loaded lines covering scope, limits, endpoint, and cost. The leading line 'One product over time' duplicates the title verbatim and earns little, which is the only real waste.

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 four-parameter read-only time-series tool with a fully documented schema, the description supplies the essentials an agent needs: cost, date bounds, data granularity, and a valid-id source. Since no output schema exists, a brief note on the shape of the returned series would have completed it.

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 the schema already documents all four parameters including the currency enum and date formats. The description contributes the default window and maximum span that govern start/end together, plus a pointer to /gold/products for valid product ids, but adds nothing about individual parameter syntax beyond the schema.

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 states a specific verb-and-resource pairing: it returns one product's intrinsic value for every NBP business day in a date window. That is clearly a per-product time series rather than a latest-price or product-list call. It never names a sibling (e.g. gold_getCommodityHistory or gold_listGoldPrices) to draw the boundary explicitly, so it stops short of a 5.

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?

Useful operating context is present: default window of the last 30 days, a 366-day cap, and data availability since 2013-01-02. However, there is no statement of when to choose this over the latest-price or commodity-history siblings, so the agent must infer the routing decision from sibling names alone.

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