Skip to main content
Glama

Yu-Gi-Oh Sim

Yu-Gi-Oh! opening hand simulator for a pasted deck

ygo_hand_sim
Read-only

Yu-Gi-Oh! opening hand simulator for a pasted deck. Paste a .ydk or list, tag starters/extenders/bricks (hand traps are auto-tagged), define goals ("starter + extender", "starter and no bricks", "2+ hand traps") and get seeded Monte Carlo odds going first and second, plus the distribution of each group in the opening 5. Up to 50,000 hands. For turn-by-turn goldfish with Normal Summons use ygo_goldfish. Costs $0.003 per call, paid with MPP on Tempo (send an MPP Payment credential in the Authorization header of the MCP request, or call POST https://yugioh-sim.fmf-x402.workers.dev/mpp/ygo/hand-sim 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": {
      "decklist": "<decklist>"
    },
    "name": "ygo_hand_sim"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNodefault 1
tagsNo{"starter":["Card A","Card B"],"extender":["Card C"],"brick":["Card D"]}
goalsNo[{"name":"starter + extender","need":[{"group":"starter"},{"group":"extender"}]},{"name":"no bricks","need":[{"group":"brick","min":0,"max":0}]}]
decklistYes.ydk text or decklist
iterationsNo100-50000, default 20000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the pricing model ($0.003/call), the payment mechanism (MPP Payment credential in the Authorization header, or the mppx endpoint), the unauthenticated fallback (returns the price), and the guarantee that invalid input is never charged. It also caps iterations at 50,000 and notes seeding, giving the agent real operating constraints.

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?

Front-loaded with purpose, then behavior, then the sibling redirect, then commercial terms. Every sentence carries information, though the payment sentence is dense and could be tightened without losing content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite nested parameters and no output schema, the description states what the agent receives (odds going first and second plus opening-5 distributions per group), covers payment and failure modes, and redirects to the right sibling for adjacent use cases. Nothing material is missing for a correct call.

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 schema already carries parameter documentation. The description still adds meaning the schema lacks — hand traps are auto-tagged, goals support named predicates like 'starter + extender' and 'starter and no bricks', and results are reported as per-group distribution in the opening 5.

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?

States a specific verb and resource ('opening hand simulator for a pasted deck') and names the mechanism (seeded Monte Carlo, first and second). It explicitly rules out ygo_goldfish, but the near-identical sibling name ygo_opening_hand_odds is never differentiated, which blunts sibling separation.

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?

Gives clear context for use — paste a deck, tag groups, define goals, up to 50,000 hands — and names one alternative tool with the condition that selects it (turn-by-turn goldfish with Normal Summons). It does not address ygo_opening_hand_odds or ygo_combo_odds, which an agent would plausibly confuse with 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.