Skip to main content
Glama

Whats missing

whats_missing
Read-onlyIdempotent

Cards missing from a deck (not coverable from the collection) with the cheapest cached printing price per card (cheapest_price, non-foil, and cheapest_printing as "SET number"; both null when no printing has a price yet) and a price-to-complete total in currency (default USD). The total leaves unpriced cards out: say how many rows have no price. Prices come from the local printings cache (nightly refresh). Run claim_from_collection first, or copies the user owns and has not claimed are still counted as coverable, not missing.

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": {
      "deck": "<deck>"
    },
    "name": "whats_missing"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesDeck id or name
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.

Output Schema

NameRequiredDescriptionDefault
deckYes
noteYes
rowsYes
currencyYes
rate_missingNoPresent when CHF was asked and no CHF rate is stored: no CHF price could be given at all, the cards are not unpriced. Relay it.
missing_cardsYes
price_to_completeYesLeaves out the rows with no price: say how many

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / rows / items / required
      Previous value: -[
      -  "want_id",
      -  "oracle_id",
      -  "pinned_scryfall_id",
      -  "name",
      -  "scryfall_url",
      -  "section",
      -  "lang",
      -  "lang_asked",
      -  "wanted",
      -  "allocated",
      -  "shared_in",
      -  "sleeved",
      -  "claimable",
      -  "missing",
      -  "status",
      -  "shared_detail",
      -  "also_shared_with",
      -  "proxies_allocated",
      -  "proxies_missing",
      -  "held_elsewhere",
      -  "image_uri",
      -  "cheapest_price",
      -  "cheapest_printing",
      -  "price_source",
      -  "missing_cost"
      -]New value: +[
      +  "want_id",
      +  "oracle_id",
      +  "pinned_scryfall_id",
      +  "name",
      +  "scryfall_url",
      +  "image_uri",
      +  "section",
      +  "lang",
      +  "lang_asked",
      +  "wanted",
      +  "allocated",
      +  "shared_in",
      +  "sleeved",
      +  "claimable",
      +  "missing",
      +  "status",
      +  "shared_detail",
      +  "also_shared_with",
      +  "proxies_allocated",
      +  "proxies_missing",
      +  "held_elsewhere",
      +  "cheapest_price",
      +  "cheapest_printing",
      +  "price_source",
      +  "missing_cost"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already mark it read-only, idempotent, closed-world and non-destructive, and the description still adds substantive behavior: prices come from a local printings cache refreshed nightly, `cheapest_price` is non-foil and null when no printing is priced, and the total omits unpriced cards so the caller must report the count of price-less rows. This is the kind of caveat an agent cannot infer from structured fields.

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?

Dense but essentially waste-free: one framing sentence, one caveat about unpriced rows, one about the cache, one prerequisite. The nested parentheticals make it read as a spec dump rather than a front-loaded summary, and the currency-conversion note partly duplicates the schema.

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?

An output schema exists, yet the description still explains the return semantics that matter for interpretation (null prices, excluded rows, total). Combined with the prerequisite and cache freshness note, an agent has enough to call and explain the result; the only gap is guidance about what to do when the user actually wants pricing or completion alternatives rather than a missing-list.

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 coverage is 100% and the schema itself already explains the CHF/EUR derivation and the `rate_missing` case, so the description's main parameter contribution is the default of USD for `currency`. The `deck` parameter (id or name) is not elaborated at all. Baseline 3 is appropriate given the schema does the heavy lifting.

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 concrete resource and scope: cards in a deck that are not coverable from the collection, plus per-card cheapest cached printing price and a price-to-complete total. It implicitly separates itself from collection-facing and deck-health siblings via the 'coverable vs missing' distinction, though it never names an alternative tool for the same question (e.g. a budget/completion sibling).

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 gives an explicit prerequisite with consequences: run claim_from_collection first, otherwise owned-but-unclaimed copies are treated as coverable and silently disappear from the result. That is strong when-to-use context, but there is no statement of when *not* to use this tool or which sibling to pick for related questions.

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