Skip to main content
Glama

MetalCharts

Price history for a metal

get_price_history
Read-onlyIdempotent

Daily, weekly, monthly or intraday OHLC history for one metal, oldest first. Gold and silver daily history goes back to 1966. Converts each point at that day's ECB rate when currency is set. Returns at most limit of the most recent points.

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": {
      "symbol": "<symbol>"
    },
    "name": "get_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD, used with start.
unitNoMass unit to quote per. toz is the troy ounce. Default: the market's own unit (toz for precious metals, lb or mt for base metals).
karatNoGold only: price this karat at purity karat/24 (24 is pure gold).
limitNoMost recent points to return (default 250).
rangeNoWindow to return, default 1M. Plan limits apply (Free: 30 days of daily bars).
startNoYYYY-MM-DD. Overrides range.
symbolYesMetal code: XAU, XAG, XPT, XPD, HG, ALI, NI, ZN, PB, JBP, CO, LC, UXA.
currencyNoISO 4217 code to quote in (default USD). One of USD, EUR, GBP, JPY, CHF, AUD, CAD, CNY, INR, SGD, HKD, NZD, SEK, NOK, DKK, MXN, BRL, ZAR, TRY, PLN, CZK, HUF, RON, ISK, ILS, KRW, IDR, MYR, PHP, THB, AED, SAR.
intervalNoCandle size, default 1d. Intraday needs a paid plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses real behavior: history depth back to 1966 for gold and silver, per-point conversion at that day's ECB rate, oldest-first ordering, and the limit cap on returned points. The ECB conversion rule is genuinely useful context that the annotations cannot convey. It still says nothing about what a response looks like or how plan gating truncates results.

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?

Four short sentences, front-loaded with the core purpose, and each contributes information (intervals, ordering, historical depth, currency conversion, limit). The ordering-versus-limit statement is slightly muddled and could be stated more cleanly.

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 9-parameter read tool with full schema coverage and annotations but no output schema, the description covers ordering, data depth, conversion semantics, and result truncation. It leaves open the interaction of start/end with range and what happens under plan limits, which are meaningful for a data-retrieval tool.

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 meaning the schema lacks: that currency conversion uses the historical ECB rate for each point rather than a single current rate. It also clarifies ordering and the limit truncation, though it doesn't address how start/end interact with range or intraday plan gating.

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: OHLC history for one metal across daily/weekly/monthly/intraday intervals. It implicitly separates itself from snapshot tools like get_spot_prices by emphasizing historical bars, but never names an alternative, 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?

Usage context is only implied — an agent can infer this is the tool for historical bars rather than current prices or exchange rates, but there is no explicit when-to-use or when-not guidance naming a sibling. The contrast between 'oldest first' and 'at most limit of the most recent points' also requires some inference about selection vs. ordering.

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