Skip to main content
Glama
Cladios34

mtg-mcp-server

by Cladios34

deck_analysis

Read-onlyIdempotent

Analyze a Magic: The Gathering decklist for mana curve, colors, combos, synergy, budget, and bracket. Compares owner-declared categories against actual composition to detect drift.

Instructions

Full decklist health check — mana curve, colors, combos, bracket, budget, synergy.

Uses all available backends: Scryfall bulk data for rate-limit-free card resolution, Scryfall API as fallback, Spellbook for combos and bracket estimation, EDHREC for synergy scores. Degrades gracefully if optional backends are unavailable.

Pass declared_categories for any count the deck's owner asserted: it is measured against the list and reported as drift. A number stated once and never re-checked is how a deck ends up evaluated against a composition it no longer has.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
decklistYesList of card names in the deck (99 cards for Commander)
commander_nameYesCommander the deck is built around
response_formatNoOutput verbosity: 'detailed' (default) or 'concise'detailed
declared_categoriesNoCounts the deck's owner stated, checked against the actual list. Each entry is {name, filter, expected} — e.g. {"name": "cheap creatures", "filter": "mv<=1 t:creature", "expected": 13}. Filter supports mv/cmc comparisons, t:, o:, name:, kw:. An entry may carry an explicit {name, cards, expected} instead of a filter.
Behavior4/5

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

Annotations declare readOnlyHint, openWorldHint, and idempotentHint. The description adds transparency about backend usage (Scryfall bulk data, API fallback, Spellbook, EDHREC) and graceful degradation, which goes beyond the annotations. No contradictions.

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

Conciseness4/5

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

The description is three paragraphs: a clear summary, backend details, and parameter explanation. It is well-structured and front-loaded with the core purpose. Each sentence adds value, though it could be slightly more concise.

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 complex tool with no output schema, the description covers purpose, backend strategy, graceful degradation, and key parameter details. It adequately informs the agent about behavior, though output format is not explicitly described.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%. The description adds significant meaning to 'declared_categories' by explaining its purpose, syntax, and drift measurement, complementing the schema description. Other parameters are standard with sufficient schema descriptions.

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 starts with 'Full decklist health check — mana curve, colors, combos, bracket, budget, synergy,' clearly stating the tool's specific purpose and scope. It lists multiple analytical dimensions, distinguishing it from siblings like deck_validate or commander_overview which are more focused.

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?

The description implies usage for a comprehensive deck analysis but does not explicitly state when to use this tool versus alternatives. It lacks direct comparisons or 'do not use if' guidance, though the description of backends and graceful degradation provides some context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cladios34/mtg-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server