Skip to main content
Glama

Card detail

card_detail
Read-onlyIdempotent

Everything about one card: oracle data (mana cost, type line, rules text, color identity, legalities — the map includes paupercommander (Pauper EDH: whether the card may sit in the 99) and duel (Duel Commander); card.pdh_commander separately flags cards that can LEAD a Pauper EDH deck, i.e. printed at uncommon with a creature/Vehicle/Spacecraft front face — legendary is NOT required in PDH), the focused printing (set, collector number, rarity, finishes, USD/EUR prices), EVERY printing across all sets with the user's per-printing ownership (qty_real / qty_real_foil / qty_proxy; set_digital=1 marks MTGO/Arena-only printings), and the user's holdings of any printing with physical location and deck allocations. Answers "do I own this card, and in which printings?" — use it before suggesting a purchase. card.rulings: the card's official rulings (published_at, source "wotc" = Wizards of the Coast or "scryfall", comment), from Scryfall's rulings file as of the catalogue's last load; quote them when asked how the card works, or how it works with another card. Reference by scryfall_id, by name (+ optional set_code/collector_number), or by oracle_id (the newest printing becomes the focus). A first lookup may read the card's printings and prices live from Scryfall (card data kept in the shared catalogue for 7 days; nothing in the user's account changes). DISCLOSURE: qty_proxy copies are proxies — physically present but never counted as owned; holdings with shared=true allocations must be relayed as "also allocated to …". Before the user signs in, it answers from the catalogue alone with signed_in: false: no qty_* fields, holdings or totals, so say nothing about what they own, and a card newer than the catalogue is not found until they sign in.

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": "card_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
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"
oracle_idNoOracle id shared by all printings — use when no specific printing is meant
scryfall_idNoExact Scryfall printing id, if known
collector_numberNoCollector number within the set

Output Schema

NameRequiredDescriptionDefault
cardYes
totalsNoAbsent before sign-in
currencyYes
holdingsNoThe player's stacks of any printing. Absent before sign-in
printingYesThe printing asked about, or the newest
printingsYesEvery printing, newest set first, each with what the player owns of it
signed_inNoPresent, false, when the user has not signed in: the answer holds no copies, holdings or totals, so say nothing about what they own

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedOutput schema / properties / holdings / description
      Previous value: -"The player's stacks of any printing"New value: +"The player's stacks of any printing. Absent before sign-in"
    • changedOutput schema / properties / printing / properties / qty_proxy / description
      Previous value: -"Proxy copies of this printing. Proxies are not real cards: never counted as owned, always said"New value: +"Proxy copies of this printing. Proxies are not real cards: never counted as owned, always said Absent before sign-in"
    • changedOutput schema / properties / printing / properties / qty_real / description
      Previous value: -"Real copies of this printing the player owns"New value: +"Real copies of this printing the player owns. Absent before sign-in"
    • changedOutput schema / properties / printing / properties / qty_real_foil / description
      Previous value: -"Of those, foil or etched"New value: +"Of those, foil or etched. Absent before sign-in"
    • changedOutput schema / properties / printing / required
      Previous value: -[
      -  "scryfall_id",
      -  "set_code",
      -  "collector_number",
      -  "scryfall_url",
      -  "set_name",
      -  "set_type",
      -  "set_digital",
      -  "released_at",
      -  "rarity",
      -  "lang",
      -  "image_uri",
      -  "finishes",
      -  "price_usd",
      -  "price_usd_foil",
      -  "price_eur",
      -  "price_eur_foil",
      -  "qty_real",
      -  "qty_real_foil",
      -  "qty_proxy"
      -]New value: +[
      +  "scryfall_id",
      +  "set_code",
      +  "collector_number",
      +  "scryfall_url",
      +  "set_name",
      +  "set_type",
      +  "set_digital",
      +  "released_at",
      +  "rarity",
      +  "lang",
      +  "image_uri",
      +  "finishes",
      +  "price_usd",
      +  "price_usd_foil",
      +  "price_eur",
      +  "price_eur_foil"
      +]
    • changedOutput schema / properties / printings / items / properties / qty_proxy / description
      Previous value: -"Proxy copies of this printing. Proxies are not real cards: never counted as owned, always said"New value: +"Proxy copies of this printing. Proxies are not real cards: never counted as owned, always said Absent before sign-in"
    • changedOutput schema / properties / printings / items / properties / qty_real / description
      Previous value: -"Real copies of this printing the player owns"New value: +"Real copies of this printing the player owns. Absent before sign-in"
    • changedOutput schema / properties / printings / items / properties / qty_real_foil / description
      Previous value: -"Of those, foil or etched"New value: +"Of those, foil or etched. Absent before sign-in"
    • changedOutput schema / properties / printings / items / required
      Previous value: -[
      -  "scryfall_id",
      -  "set_code",
      -  "collector_number",
      -  "scryfall_url",
      -  "set_name",
      -  "set_type",
      -  "set_digital",
      -  "released_at",
      -  "rarity",
      -  "lang",
      -  "image_uri",
      -  "finishes",
      -  "price_usd",
      -  "price_usd_foil",
      -  "price_eur",
      -  "price_eur_foil",
      -  "qty_real",
      -  "qty_real_foil",
      -  "qty_proxy"
      -]New value: +[
      +  "scryfall_id",
      +  "set_code",
      +  "collector_number",
      +  "scryfall_url",
      +  "set_name",
      +  "set_type",
      +  "set_digital",
      +  "released_at",
      +  "rarity",
      +  "lang",
      +  "image_uri",
      +  "finishes",
      +  "price_usd",
      +  "price_usd_foil",
      +  "price_eur",
      +  "price_eur_foil"
      +]
    • addedOutput schema / properties / signed_in
      Added value: +{
      +  "const": false,
      +  "description": "Present, false, when the user has not signed in: the answer holds no copies, holdings or totals, so say nothing about what they own",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / totals / description
      Added value: +"Absent before sign-in"
    • changedOutput schema / required
      Previous value: -[
      -  "card",
      -  "printing",
      -  "printings",
      -  "holdings",
      -  "totals",
      -  "currency"
      -]New value: +[
      +  "card",
      +  "printing",
      +  "printings",
      +  "currency"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: first lookup may read printings and prices live from Scryfall, card data is cached 7 days, and 'nothing in the user's account changes.' It discloses that qty_proxy copies are proxies never counted as owned, that shared=true allocations must be relayed as 'also allocated to …', and that signed_in: false strips qty_*/holdings and hides cards newer than the catalogue.

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?

Front-loaded with the purpose, and nearly every clause carries information, but the body is a single sprawling block with parentheticals nested inside parentheticals (paupercommander, pdh_commander, qty_*). The disclosure and pre-sign-in rules are buried at the end rather than broken out, which hurts scannability.

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, yet the description still covers the cases structured fields cannot: live-fetch/caching behavior, proxy accounting, shared allocations, and the signed-out degraded mode. For a multi-mode lookup with auth-dependent behavior, nothing an agent needs to answer correctly is missing.

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; the description adds real meaning on top by explaining the alternative identifier modes and the oracle_id behavior ('the newest printing becomes the focus'), which the schema does not state. It does not discuss currency or CHF rate_missing semantics in the description, leaving that to 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?

Opens with a specific verb+resource framing ('Everything about one card') and enumerates the returned payload: oracle data, focused printing, every printing with ownership, holdings, rulings. The self-description 'Answers "do I own this card, and in which printings?"' makes the job unambiguous. It never differentiates itself from near-siblings like show_card or show_card_location, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage triggers: 'use it before suggesting a purchase' and 'quote them when asked how the card works, or how it works with another card.' It also prescribes identifier selection order (scryfall_id, then name + set_code/collector_number, then oracle_id). It offers no when-not-to-use guidance or explicit alternative tools, which is the only gap.

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