Skip to main content
Glama

Deck health

deck_health
Read-onlyIdempotent

Composed 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

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
missingYes
legalityYes
proxy_countYesClaimed proxies: always say so
cards_wantedYes
missing_cardsYes
shared_copiesYesCopies this deck borrows and its own copies other decks borrow: relay every line
sideboard_cardsYes
price_to_completeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / deck / properties / companion
      Added value: +{
      +  "description": "The companion's name, or null; legality names each card that breaks its condition",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / deck / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "format"
      -]New value: +[
      +  "id",
      +  "name",
      +  "format",
      +  "companion"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the read-only annotations, the description discloses real behavior: proxies never affect legality but are always surfaced as a warning, shared copies must be reported in both directions, and a missing CHF rate must be explained as a pricing gap rather than a zero price. That is meaningful context an agent could not derive from the annotations. It stops short of describing response shape or cost of the call, but the output schema covers the former.

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 lead phrase is front-loaded and the closing sentence about proxies is crisp, but the body is one very long sentence with deeply nested parentheticals that is hard to parse in a single read. It is information-dense rather than padded, yet the structure could be split for scanability.

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, so return structure need not be explained, and the description instead supplies the interpretive rules an agent needs: what a `rate_missing` response means, how proxies interact with the legality verdict, and that borrowed and lent copies must both be relayed. For a two-parameter aggregate report this is close to complete; only explicit sibling routing is missing.

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 the schema already documents both `deck` and `currency` including the enum and the CHF/ECB derivation. The description only restates the default of USD, adding no syntax or format detail beyond structured fields. 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?

Opens with a specific noun phrase, 'Composed deck report', and enumerates the exact contents: format legality, missing cards, shared-copy disclosures, proxy count, and price-to-complete. An agent can tell this is a single aggregated read that bundles legality plus cost, which separates it from a narrow stats or combos tool. It never names a sibling explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied by the content list; there is no statement of when to prefer this over deck_stats, deck_status, or deck_combos, nor any prerequisite or exclusion. The only conditional instructions are operational ('relay both', 'tell the user that, not that the cards have no price'), which govern handling of results 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