Skip to main content
Glama

Cards for a commander

cards_for_commander
Read-onlyIdempotent

Cards that belong in a commander deck (id or name; Commander, Duel Commander or Pauper Commander, with its commander set), in two lists titled by title ("For "; never call them recommendations). played_with: what the commander's tournament lists play, most played first — share 0–1 of its lists play the card, share_elsewhere of the format's other lists (a card far above its share elsewhere is this commander's own). Whenever you mention these counts, credit every source in sources by name with its link (TopDeck.gg always), and when cedh is true say they are cEDH tournament lists, not casual decks; note says it in one sentence. known false: under 10 lists a year, no counts. on_theme: the cards nearest the commander's rules text in its colours (closeness 0–1, not a verdict), for every commander, without the cards played_with holds. They are cards LIKE the commander — goblin makers for a goblin maker — and miss cards that work WITH it (the instants a spell-trigger commander wants): YOU judge which fit, and say so. Both lists are fitted to the deck: in its colour identity, legal in its format, not already in it; owned = the user's cards with free copies, to_buy = cheapest priced non-foil printing in currency (default USD), null when none is priced yet (the nightly price refresh prices it; price_queued is always false and prices_queued 0). Say proxies beside a card that has any, name every deck in shared_with (those copies are borrowed), and name the decks in claimed_by when owned_claimed > 0. limit per list and side, default 10, max 30. Read-only: it changes nothing and starts no work.

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

Input Schema

NameRequiredDescriptionDefault
deckYesDeck id or name
limitNo
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
titleYesWhat the lists are called ("For <commander>"); never call them recommendations
on_themeYes
commandersYes
played_withYes
prices_queuedYesAlways 0: this tool queues nothing; the nightly refresh prices a card with no price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive/closed-world, and the description mostly restates that ('Read-only: it changes nothing') while adding 'starts no work'. Beyond annotations it discloses genuinely useful behavior: data provenance (TopDeck.gg, source links), a nightly price refresh with `price_queued` always false and `to_buy` null until priced, and borrowing semantics for `shared_with` copies. The gaps are minor — no failure mode when the deck is not a commander deck.

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?

The purpose and the two list names are front-loaded, but the rest is a single ~250-word paragraph stitched with semicolons, mixing invocation facts (limit, currency) with output-copy instructions (credit every source, say `proxies`, name every deck). Almost every clause carries information, yet the lack of paragraph or bullet structure makes it hard to scan.

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?

For a read-only tool with an output schema, three params and heavy derived data, the description covers the pieces an agent must act on: list semantics, share vs share_elsewhere interpretation, the on_theme judgment caveat, fitting constraints (colour identity, legality, not already in deck), and owned/to_buy pricing. Missing only error/edge handling for non-commander decks and pagination behavior.

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 67%, and the description adds real meaning for two of three params: `deck` accepts an id or name and implies Commander/Duel/Pauper Commander ('with its commander set'), and `limit` gets a default of 10 that the schema omits (max 30 is already in the schema). `currency` gets its default (USD) noted, but the CHF/rate_missing nuance lives in the schema, not here. Helpful additions, but partial.

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 definition makes clear it returns cards that fit a commander deck, split into a `played_with` list (what tournament lists play) and an `on_theme` list (cards nearest the commander's rules text), keyed by deck id or name. The resource and output shape are concrete, and the 'never call them recommendations' instruction pins the intended framing. It does not, however, name or contrast any sibling (search_cards, find_substitutes, complete_deck_on_budget), so differentiation is left to the reader.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to choose this tool over alternatives, nor any prerequisite (e.g., that the deck must be a commander-format deck) beyond the parenthetical format list. The only conditional guidance is internal to the output ('YOU judge which fit', 'when `cedh` is true say they are cEDH lists'), which governs presentation rather than tool selection.

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