Skip to main content
Glama

MTG Sim

MTG draw sim: exact odds to draw your cards by turn N

mtg_draw_odds
Read-only

MTG draw sim: exact odds to draw your cards by turn N. Exact odds of drawing one or more cards (or card groups, jointly) in the opening hand and by each turn, on the play or on the draw. "What are my odds of having Lightning Bolt and 2 lands by turn 2?" Presets: mtg (60), commander (99 library, draws turn 1), limited (40), plus pokemon, yugioh, lorcana, onepiece. Exact hypergeometric, no sampling error. Costs $0.001 per call, paid with MPP on Tempo (send an MPP Payment credential in the Authorization header of the MCP request, or call POST https://mtg-sim.fmf-x402.workers.dev/mpp/mtg/draw-odds with mppx). Without payment the tool returns the price and how to pay; invalid input is never charged.

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": {
      "cards": "<cards>"
    },
    "name": "mtg_draw_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
turnNoLast turn to report (1-20, default 4)
cardsYesCard groups: [{"name":"Lightning Bolt","copies":4,"min":1}, {"name":"lands","copies":20,"min":2}] (max 6)
formatNomtg | commander | limited (also pokemon, yugioh, lorcana, onepiece). Default mtg.
on_playNotrue = on the play (no turn-1 draw in 1v1 Magic); default true
deck_sizeNoOverride deck/library size

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses substantial operational behavior: cost per call, required MPP payment via Authorization header or POST endpoint, fallback behavior when unpaid, and that invalid input is never charged. It also states the calculation is exact hypergeometric with no sampling error.

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 front-loaded with the purpose and then adds payment and presets information without excessive digression. There is some repetition of 'exact odds' and the title wording, but overall the text is dense and purposeful.

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 paid, compute-only tool with no output schema, the description covers the calculation method, supported formats, payment mechanics, and invalid-input behavior. It is nearly complete, though it does not describe the response structure or differentiate itself from the overlapping opening-hand odds sibling.

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 description coverage is 100%, so the schema already defines all five parameters, including turn, cards, format, on_play, and deck_size. The description reinforces usage through an example card group and lists supported presets, but it does not add meaning beyond the schema for the deck_size override or parameter interactions.

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 states a specific verb and resource: exact hypergeometric odds of drawing cards in the opening hand and by each turn. It clarifies scope including joint card groups and on-play/on-draw conditions, but it does not explicitly distinguish itself from the sibling mtg_opening_hand_odds tool.

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?

It provides a clear example question, 'What are my odds of having Lightning Bolt and 2 lands by turn 2?', which implies the intended use case. However, it gives no explicit when-to-use vs. when-not-to-use guidance and does not name an alternative when another sibling might be more appropriate.

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.