Skip to main content
Glama

Combos in a deck

deck_combos
Read-onlyIdempotent

The combos in a deck (id or name), any format, from Commander Spellbook's combo database (a copy refreshed with the card catalogue, not a live search). in_list: combos the deck's main list holds whole, most played first (up to 30; in_list_total says how many, counted among the 400 most played candidates read). one_card_away: combos the list misses one card of, most played first (up to 20; more_one_card_away when there are more), that card legal in the deck's format, in its colour identity and not in the deck: missing.have "owned" = the user owns a free copy (say proxies beside it when > 0, and name every deck in shared_with: those copies are borrowed), "to_buy" = its cheapest priced non-foil printing in currency (default USD; null when none is priced yet), and when owned_claimed > 0 name the decks in claimed_by that hold the user's copies. Each combo: its cards (must_be_commander: it works only from the command zone, so it counts only when that card leads the deck), produces (what it makes), requires (a kind of card it also needs, any one), prerequisites (the board it starts from), mana_needed, steps, notes, and url, its page on Commander Spellbook. Whenever you show a combo, credit Commander Spellbook by name with the link in source. known false: the combos are not loaded yet. Spellbook lists combos as written; check a combo's steps against the cards' text and rulings (card_detail) before you vouch for it. Changes nothing.

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_combos"
  }
}

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
knownYesFalse: the combos are not loaded yet
sourceYesCommander Spellbook: credit it by name with this link whenever a combo shows
in_listYes
in_list_totalYes
one_card_awayYes
more_one_card_awayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / in_list / items / properties / cards / items / properties / image_uri
      Added value: +{
      +  "description": "Its picture on Scryfall, to show as it is: the deck's own printing for a card in the list or leading it, the offered printing for the card the combo misses; null otherwise",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / in_list / items / properties / cards / items / required
      Previous value: -[
      -  "oracle_id",
      -  "name",
      -  "scryfall_url",
      -  "must_be_commander"
      -]New value: +[
      +  "oracle_id",
      +  "name",
      +  "scryfall_url",
      +  "image_uri",
      +  "must_be_commander"
      +]
    • addedOutput schema / properties / one_card_away / items / properties / cards / items / properties / image_uri
      Added value: +{
      +  "description": "Its picture on Scryfall, to show as it is: the deck's own printing for a card in the list or leading it, the offered printing for the card the combo misses; null otherwise",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / one_card_away / items / properties / cards / items / required
      Previous value: -[
      -  "oracle_id",
      -  "name",
      -  "scryfall_url",
      -  "must_be_commander"
      -]New value: +[
      +  "oracle_id",
      +  "name",
      +  "scryfall_url",
      +  "image_uri",
      +  "must_be_commander"
      +]
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/closed-world, and 'Changes nothing' is consistent with them. Beyond that, the description discloses behavior the annotations cannot: the data is a cached copy rather than a live search, result caps (up to 30 and up to 20) with total counters, how `missing.have` resolves to owned vs to-buy, proxy and borrowed-copy handling, and the unloaded-data case via `known`. That is substantial, decision-relevant behavioral context.

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

Conciseness2/5

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

The purpose is front-loaded, but the body is a single dense paragraph that enumerates nearly every response field (`cards`, `produces`, `requires`, `prerequisites`, `mana_needed`, `steps`, `notes`, `url`, `in_list_total`, `more_one_card_away`, `missing.have`, `shared_with`, `claimed_by`). Since an output schema exists, that field-by-field inventory is largely redundant and makes the actionable guidance (attribution, verify with card_detail) hard to find. The nested parenthetical and backtick style 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?

For a two-parameter read tool with a full output schema, nothing an agent needs is missing: data freshness, result caps, the unloaded state, ownership/price resolution, required attribution, and a verification step are all covered. If anything it errs on the side of over-explaining returns, which is penalized under conciseness rather than completeness.

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%, so both `deck` (id or name) and `currency` (enum with its own explanation of the CHF rate caveat) are already documented. The description adds little beyond the schema for these two inputs — mainly that `currency` defaults to USD and that an unpriced printing yields null, which is mostly response-side. With the schema doing nearly all the work, 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 states a precise resource and scope: the combos in a deck (by id or name), split into `in_list` (combos the main list holds whole) and `one_card_away` (combos missing one card). It also distinguishes itself from a live lookup by noting the data is 'a copy refreshed with the card catalogue, not a live search,' and no sibling tool covers combo data. It stops short of explicitly routing against siblings, and the opening is a noun phrase rather than a verb-first statement.

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 clear operative context: use it for a deck's combos, and it names `card_detail` as the follow-up for checking steps against card text and rulings before vouching for a combo. It also specifies how to present results (credit Commander Spellbook by name with the `source` link) and what `known: false` means. There is no explicit when-not-to-use case, so the alternative routing is only partly covered.

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