Skip to main content
Glama

Price history

price_history
Read-onlyIdempotent

Price over time, from the nightly snapshots Reliquary keeps of every printing it prices (for every printing since November 2026, before that only for owned ones; daily for 90 days, then one a week for a year). WITH a card reference: that printing's unit price per day in currency (price non-foil, price_foil foil, null where it has none), any card, owned or not; since is the first day kept (null: no history yet, say so). WITHOUT a card: the user's collection value per day — the cards owned TODAY at each day's prices (a card sold leaves the whole line); value sums only the copies that had a price that day and cards_priced counts them out of cards, so a rise where cards_priced rises is a card whose history starts there, not a price move: say so. Nothing is estimated. include_proxies defaults to FALSE: proxies count as zero, say so when reporting. days: 30 or 90 (a point a day) or 365 (a point a week); default 90. A day reads the latest snapshot at most 14 days old. Prices are Scryfall's list prices (USD from TCGplayer, EUR from Cardmarket); CHF is EUR × the stored ECB rate.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo30, 90 or 365; default 90
nameNoCard name in English or any language Scryfall prints ("Blitzschlag", "Foudre", "稲妻"), used when scryfall_id is absent; an English name is also fuzzy-resolved via Scryfall
currencyNoDisplay currency. USD/EUR come from Scryfall; CHF is always EUR × the stored ECB rate. A response that carries `rate_missing` could not price in CHF at all: tell the user that, not that the cards have no price.
set_codeNoSet code, e.g. "2xm"
scryfall_idNoExact Scryfall printing id, if known
include_proxiesNoCollection only; default false
collector_numberNoCollector number within the set

Output Schema

NameRequiredDescriptionDefault
daysYes30 or 90 (a point a day), 365 (a point a week)
nameNoThe English name
cardsNoThe collection: copies owned today, each priced at each day's prices
sinceNoA card asked: the first day a price was kept; null: no history yet, say so
pointsYes
currencyYes
set_codeNo
image_uriNoThe card's picture on Scryfall, to show as it is; null when the catalogue has none
scryfall_idNoA card asked: the printing
rate_missingNoNo rate for the currency: prices are null for want of it, not missing
scryfall_urlNoThe card's page on Scryfall: link the card's name to it
include_proxiesNoThe collection: false leaves proxies out (as zero); say so
collector_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare read-only, idempotent, open-world; the description adds substantial context beyond them: snapshot cadence (daily for 90 days, weekly for a year), the 14-day staleness cap on a day's snapshot, the explicit 'Nothing is estimated' guarantee, proxies counting as zero, and the `rate_missing` CHF failure mode with instructions to report it rather than claiming no price. These are exactly the caveats an agent needs to interpret results correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is a dense run-on with semicolon-chained clauses, bolded shifts and parenthetical asides that make it hard to scan. Several output-field explanations (`value`, `cards_priced`, `price_foil`) overlap with the existing output schema and could be compressed without losing the interpretive guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a dual-mode, multi-currency history tool this covers everything an agent needs: data provenance, coverage windows by ownership, staleness, non-estimation, proxy handling, and interpretation of the `cards_priced` artifact so a coverage-driven jump isn't reported as a price move. Annotations already carry the safety profile, so no behavioral gap remains.

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 baseline would be 3, but the description adds real meaning: `days` controls point spacing ('a point a day' for 30/90, 'a point a week' for 365) and `include_proxies` is not merely a filter but a zero-valuation rule that must be disclosed to the user. The CHF/EUR derivation largely restates the schema description, which holds it back from a 5.

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?

The opening sentence names the resource (price over time) and the exact data source (nightly snapshots of every printing priced). It then splits the behavior into two precise modes — WITH a card reference (per-printing unit price) vs WITHOUT one (collection value per day) — so an agent can tell which branch it will land in without inspecting the schema.

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?

It clearly states the condition that selects each mode (card reference present vs absent) and pins down defaults ('include_proxies defaults to FALSE'), plus when to say 'no history yet'. What it lacks is any pointer to alternatives such as the collection_value sibling for a single current valuation, so the agent must infer when this tool is the wrong choice.

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