Skip to main content
Glama

upgrade_deck

Read-only

Suggest priced deck upgrades: cards to add (within an optional budget) and cards to cut. TWO-PHASE: first call WITHOUT strategy to get a deck analysis and instructions for deriving the deck's strategy; then call again WITH your derived strategy to get recommendations. Cuts are theme-alignment suggestions relative to the stated strategy, not card-quality judgments. Prices are Card Kingdom/TCGplayer retail USD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYes
budgetNo
formatYes
maxAddsNo
maxCutsNo
strategyNo
commanderNo
ownedOnlyNo
maxCardPriceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
addsNo
cutsNo
deckNo
notesNo
phaseYes
strategyNo
totalCostNo
unknownCardsNo
collectionTipNo
legalityIssuesNo
strategyPromptNo
budgetRemainingNo

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses critical behavioral nuances: the two-phase dependency on `strategy`, the fact that cuts are theme-alignment based rather than card-quality based, and the pricing source (Card Kingdom/TCGplayer). This helps the agent set expectations about output semantics and usage sequence.

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

Conciseness5/5

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

The description is compact (four sentences) and front-loaded with the main purpose. Each sentence adds critical information: what it does, the two-phase requirement, the semantics of cuts, and the price source. No redundancy or filler.

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?

The description covers the core workflow (two-phase) and clarifies important behavioral aspects, but with 9 parameters and several sibling tools, it could helpfully explain more about how parameters like `ownedOnly` or `maxAdds` affect results. The presence of an output schema reduces the need to explain return values, so this is not a major gap.

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?

The description explicitly references the `strategy` parameter and the optional `budget`, and implicitly covers `cards`. However, it does not explain `maxAdds`, `maxCuts`, `commander`, `ownedOnly`, or `maxCardPrice`. With 0% schema coverage, these missing parameter explanations create gaps, though the parameter names provide some self-evident meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Suggest priced deck upgrades: cards to add and cards to cut,' which is a specific verb-action statement. It clearly distinguishes from siblings like rate_deck (ratings) and find_synergies (synergy detection) by focusing on actionable upgrade recommendations with pricing.

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?

The two-phase instruction ('first call WITHOUT `strategy`... then call again WITH your derived `strategy`') provides explicit workflow guidance. It explains the purpose of each phase and the relationship between them, though it does not name alternative tools or explicitly state when not to use this tool.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: card lookup variants, search types, deck analysis, rule lookups, and collection queries are all separated by input type and operation. Overlapping names like get_card vs get_card_printings are still unambiguous because the descriptions specify the exact differences.

Naming Consistency4/5

All tool names use consistent lowercase snake_case formatting, but there is a mix of verb-led names (get_card, search_cards, rate_deck) and noun-led names (deck_stats, commander_staples, my_collection). The pattern is readable and predictable, but not a uniform verb_noun convention.

Tool Count4/5

With 19 tools, the server is on the heavier side but still well-scoped for the breadth of MTG: card lookup, search, rules, deck analysis, rating, upgrade suggestions, and collection management each have dedicated tools. It feels comprehensive rather than bloated, though a few could potentially be merged.

Completeness4/5

The tool set covers a wide range of MTG workflows: card details, text search, rules, deck legality, stats, combos, synergies, upgrades, and collection exploration. Minor gaps exist (e.g., no direct deck editing or saving), but the core needs of an assistant are well covered.

Resources