Skip to main content
Glama

Get price history

get_price_history
Read-onlyIdempotent

Use this when the user asks how a card's price has changed over weeks or months, or wants a trend for the raw or a PSA-graded series. Returns dated USD market values for the last 7 to 180 days. Requires a card id from search_cards. Do not use for forecasts.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back the series should go (7 to 180, default 90).
gradeNoPSA grade for a graded series, e.g. "10" or "9". Omit for the raw (ungraded) series.
card_idYesCatalog card id from search_cards.

Output Schema

NameRequiredDescriptionDefault
daysYes
nameYes
linksYes
pointsYesOldest first. Graded series only contain days with sales; gaps are normal.
seriesYes"raw" or "PSA <grade>"
sourceYes
card_idYes
variantYesThe printing the series follows (e.g. "holofoil"); other printings are separate markets and are never mixed in.
coverageYesHow many of the requested days have a capture, and how to read repeated or sparse values.
currencyYes
last_usdYes
first_usdYes
change_pctYesFirst-to-last change; null when change_note is set because a single step carries it.
change_noteYesSet when one step between consecutive captures accounts for the change: usually a data correction, not a market move. change_pct is null in that case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / days / description
      Added value: +"How many days back the series should go (7 to 180, default 90)."
  2. Changed2 schema fields changed
    • changedOutput schema / properties / change_note / description
      Previous value: -"Set when one step between consecutive captures accounts for the change: usually a data correction, not a market move. Do not quote change_pct as a trend when this is set."New value: +"Set when one step between consecutive captures accounts for the change: usually a data correction, not a market move. change_pct is null in that case."
    • addedOutput schema / properties / change_pct / description
      Added value: +"First-to-last change; null when change_note is set because a single step carries it."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / change_note
      Added value: +{
      +  "description": "Set when one step between consecutive captures accounts for the change: usually a data correction, not a market move. Do not quote change_pct as a trend when this is set.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "card_id",
      -  "name",
      -  "series",
      -  "variant",
      -  "days",
      -  "coverage",
      -  "currency",
      -  "points",
      -  "first_usd",
      -  "last_usd",
      -  "change_pct",
      -  "source",
      -  "links"
      -]New value: +[
      +  "card_id",
      +  "name",
      +  "series",
      +  "variant",
      +  "days",
      +  "coverage",
      +  "currency",
      +  "points",
      +  "first_usd",
      +  "last_usd",
      +  "change_pct",
      +  "change_note",
      +  "source",
      +  "links"
      +]
  4. Changed3 schema fields changed
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "How many of the requested days have a capture, and how to read repeated or sparse values.",
      +  "properties": {
      +    "days_with_data": {
      +      "type": "integer"
      +    },
      +    "note": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "days_with_data",
      +    "note"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / variant
      Added value: +{
      +  "description": "The printing the series follows (e.g. \"holofoil\"); other printings are separate markets and are never mixed in.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "card_id",
      -  "name",
      -  "series",
      -  "days",
      -  "currency",
      -  "points",
      -  "first_usd",
      -  "last_usd",
      -  "change_pct",
      -  "source",
      -  "links"
      -]New value: +[
      +  "card_id",
      +  "name",
      +  "series",
      +  "variant",
      +  "days",
      +  "coverage",
      +  "currency",
      +  "points",
      +  "first_usd",
      +  "last_usd",
      +  "change_pct",
      +  "source",
      +  "links"
      +]
  5. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and idempotency are covered structurally. The description contributes the return shape (dated USD market values) and the 7-180 day window, which is useful context. It does not mention rate limits, data freshness, or what happens when no data exists for a grade, so it adds moderate rather than rich behavioral value.

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

Conciseness5/5

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

Four short sentences, front-loaded with the use case before the return contract and the prerequisite. Every sentence carries a distinct fact: trigger, return shape, dependency, exclusion.

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?

An output schema exists, so return values need not be explained further, and the annotations carry the safety profile. For a 3-parameter read tool, the description covers trigger, prerequisite, and exclusion completely; nothing needed to call it correctly is missing.

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 card_id, days (7-180, default 90) and grade. The description restates the day range and 'raw or a PSA-graded series' but adds no syntax or edge-case detail beyond the schema, so baseline 3 applies.

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 gives a specific verb and resource ('how a card's price has changed', 'dated USD market values') and scopes it to trend series rather than a point-in-time price, which implicitly distinguishes it from get_card_prices. It stops short of naming a sibling explicitly, so an agent must infer the split from the returned data shape.

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 states the triggering user question ('how a card's price has changed over weeks or months'), the prerequisite chain ('Requires a card id from search_cards'), and one exclusion ('Do not use for forecasts'). It does not point to an alternative tool for snapshot pricing or forecast-style questions, leaving that gap for the agent to resolve from sibling names.

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.