Skip to main content
Glama

DeckCosmos

Simulate a deck's mana

simulate_deck
Read-onlyIdempotent

Monte Carlo consistency test, the same as the website's playtest simulator: plays the deck alone thousands of times and reports mulligan, mana screw and flood rates, lands and mana by turn, when the commander gets cast, how often a build-plan key card is drawn by turn 4, and how much mana gets used.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "simulate_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardsNoAlternative to decklist: [{"name": "Sol Ring", "qty": 1}, ...] or plain names.
gamesNoDefault 3000.
on_playNoOn the play (default) or the draw.
decklistNoThe deck as text: one "1 Card Name" per line. Moxfield, Archidekt and Arena exports, .dek XML and CSV work; a "Commander" header line (or *CMDR*) marks the commander.
commanderNoCommander name, if the list does not mark it. Otherwise it is detected like on the website.

Output Schema

NameRequiredDescriptionDefault
cardsNoCards in the deck.
gamesYesGames simulated.
methodNoHow the simulation plays.
by_turnYesAverages by turn.
commanderNoThe commander.
on_the_playNoOn the play (else on the draw).
unrecognizedNoLines that matched no card.
flood_percentNoGames drawing too many lands, %.
mulligan_percentNoOpening hands mulliganed (too few or too many lands), %.
mana_used_percentNoShare of available mana spent, %.
mana_screw_percentNoGames stuck on lands, %.
key_card_by_turn_4_percentNoGames with a build-plan key card in hand by turn 4, %.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds that this is a repeated stochastic simulation ('thousands of times'), which hints at cost and statistical (not exact) results, but it gives no runtime expectations, rate limits, or note on result variability across runs.

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?

One front-loaded sentence identifies the tool immediately, and the trailing enumeration is organized rather than rambling. The long output list partly duplicates what the existing output schema already conveys, making the tail slightly redundant.

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?

With an output schema present and full parameter coverage, the description only needs to establish purpose and scope, which it does. The remaining gaps are cost/time expectations for a multi-thousand-game simulation and how it relates to sibling deck-analysis tools.

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% with per-parameter descriptions for cards, games, on_play, decklist and commander, so the schema carries parameter meaning fully. The description adds essentially nothing about parameter formats or interactions (e.g. cards vs decklist precedence), which is the expected baseline here.

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 uses a concrete verb-plus-resource ('plays the deck alone thousands of times') and enumerates what the simulation measures, so an agent can tell it apart from hand-sampling or odds-checking siblings by output scope. It never names an alternative tool, so differentiation is by implication rather than explicit contrast.

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: the description frames the tool as a Monte Carlo consistency test mirroring the website's playtest simulator, which suggests when it is appropriate but never states when to prefer it over sample_hand, draw_odds or check_deck. No prerequisites, no exclusions, no cost/effort guidance despite the simulation being heavy.

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