Whats missing
whats_missingCards 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
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Deck id or name | |
| currency | No | Display 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
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| note | Yes | ||
| rows | Yes | ||
| currency | Yes | ||
| rate_missing | No | Present 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_cards | Yes | ||
| price_to_complete | Yes | Leaves out the rows with no price: say how many |