Skip to main content
Glama

Pokémon TCG Sim

Pokémon draw sim: exact odds to draw your cards by turn N

ptcg_draw_odds
Read-only

Pokémon draw sim: exact odds to draw your cards by turn N. Exact odds of drawing one or more cards (jointly) in the opening 7 and by each turn; both players draw on turn 1; also the chance each card is prized. "Odds of Arven or Iono by my first turn?" 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://pokemon-tcg-sim.fmf-x402.workers.dev/mpp/ptcg/draw-odds with mppx). Without payment it 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": "ptcg_draw_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
turnNo1-20, default 4
cardsYes[{"name":"Arven","copies":4,"min":1},{"name":"Basic Pokémon","copies":12,"min":2}] (max 6)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint annotation: it defines turn semantics (both players draw on turn 1, so 'turn 1' means 8 cards), discloses prize-card probability in the output, states a concrete price ($0.001/call), and explains the exact payment mechanism and the unpayed/invalid-input fallbacks. Mutating, billing, and failure behaviors are all covered.

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?

Front-loaded with the deliverable, followed by the example, then cost and payment mechanics — the order an agent needs. Some title repetition and repeated 'exact odds', but no sentence is dispensable given the payment requirements.

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 no output schema, the description still conveys the shape of results (per-turn cumulative odds, prize chance), which is what an agent needs to interpret a response. Minor gap: it doesn't say whether results are per-card or as a joint probability breakdown for the multi-card input.

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%, so the baseline is 3, but the description adds real meaning the schema lacks — notably that turn counting is symmetrical and that turn 1 already includes both players' draws, which directly affects how the agent sets the `turn` value. It also shows a concrete `cards` payload, though only the schema documents the copies/min fields and the max-6 limit.

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?

Names a specific verb+resource: exact joint odds of drawing one or more named cards in the opening 7 and by turn N, plus the chance each card is prized. The 'jointly' framing implicitly separates it from single-card siblings like ptcg_opening_hand_odds and ptcg_prize_odds, but no sibling is named explicitly.

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 worked example ('Odds of Arven or Iono by my first turn?') conveys the intended use case well, and the payment fallback explains behavior without credentials. However, there is no explicit when-to-use vs. when-to-use-a-sibling guidance, leaving the agent to infer that this is the multi-card/turn-scoped variant.

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