Skip to main content
Glama

One SKU’s price series

get_price_history
Read-onlyIdempotent

Every observation of one SKU key, oldest first: points carry kind (baseline = the price as of the source’s first snapshot, added, modified with the changed fields in diff, removed, or current), the three USD-per-million-token figures, and the fetch each was read from. A series is one price per revision of the vendor page, not a daily sample — a flat line is a page that did not change. removed=true when the newest observation is a delisting. Keys come from get_prices (entity_key); an unknown key is an error, not an empty series. Points with kind archived (basis archived) come first: read from the Internet Archive’s capture of the lab’s own page before we watched it; at is the capture time, source_url the capture. archive_only=true when every point is archived. Every row carries source_url (the exact page it was read from) and fetched_at (UTC), the fetch that produced its current values; it only moves when they change. A current price row also carries checked_at, the newest read of that page that still showed it, or null. as_of is the newest poll the payload reflects. computed_at is when it was built: a payload is reused until new data arrives, so it can be older than your request. license names the data license, split by age: our compilation and derived numbers from the last 90 days are CC BY 4.0, older ones CC BY-NC 4.0 (non-commercial use only), except what we published before 2026-11-04, which stays CC BY 4.0. A result with as_of older than 90 days is labeled CC-BY-NC-4.0 in point_in_time.license. Upstream data keeps its own license.

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

Input Schema

NameRequiredDescriptionDefault
keyYesA SKU key as get_prices lists it in entity_key, e.g. model:xai:grok-4.6:standard.
as_ofNoOptional point in time, an ISO-8601 timestamp with a zone (e.g. 2026-10-01T12:00:00Z): the payload as the terminal knew it then, rebuilt from stored history, with point_in_time saying how (method) and which keys the change log cannot confirm (unverified). Omitted, the payload is the current one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / as_of / description
      Previous value: -"Optional point in time, an ISO-8601 timestamp with a zone (e.g. 2026-10-01T12:00:00Z): the payload as the terminal knew it then, rebuilt from stored history, with point_in_time saying how (method) and which keys the change log cannot confirm (unverified). Omit for now."New value: +"Optional point in time, an ISO-8601 timestamp with a zone (e.g. 2026-10-01T12:00:00Z): the payload as the terminal knew it then, rebuilt from stored history, with point_in_time saying how (method) and which keys the change log cannot confirm (unverified). Omitted, the payload is the current one."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.