Deck health
deck_healthComposed deck report: format legality (with per-issue detail: size, copy limits, sideboard, banned and restricted cards, commander and pairing rules, colour identity — pdh and dc by their own lists — and the companion's condition, naming each card that breaks it; deck.companion names the companion), missing cards, shared-copy disclosures (copies this deck borrows AND its own copies that other decks borrow — relay both), proxy count, and price-to-complete in currency (default USD). Proxies never affect legality but are always reported as a warning.
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": "deck_health"
}
}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 | ||
| missing | Yes | ||
| legality | Yes | ||
| proxy_count | Yes | Claimed proxies: always say so | |
| cards_wanted | Yes | ||
| missing_cards | Yes | ||
| shared_copies | Yes | Copies this deck borrows and its own copies other decks borrow: relay every line | |
| sideboard_cards | Yes | ||
| price_to_complete | Yes |