Skip to main content
Glama

Yu-Gi-Oh Sim

Yu-Gi-Oh! hand-trap odds (exact)

ygo_handtrap_odds
Read-only

Yu-Gi-Oh! hand-trap odds (exact). Exact odds of opening at least one (or two) hand traps going first (5) and second (6). Pass a hand-trap count, or paste a .ydk and the known hand traps are auto-tagged. Also returns how many hand traps you need to hit 80% and 90%. 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://yugioh-sim.fmf-x402.workers.dev/mpp/ygo/handtrap-odds with mppx). Without payment it returns the price and how to pay; invalid input is never charged.

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": "ygo_handtrap_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
decklistNooptional .ydk; hand traps are auto-tagged
deck_sizeNo40-60, default 40
handtrapsNocopies of hand traps in the Main Deck (if no decklist)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond readOnlyHint, the description discloses a paid-call model ($0.001), the auth mechanism (MPP credential in the Authorization header or the mppx endpoint), the unpurchased-call behavior (returns price plus payment instructions), and the billing guarantee that invalid input is never charged. It also reveals additional returns (80%/90% threshold counts) that an agent would otherwise not know to expect.

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 core capability is front-loaded in the first three sentences, with payment logistics placed afterward. The payment section is dense and the redundant REST URL duplicates the header instruction, but every sentence carries operational information an agent needs.

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 compensates by naming key return values (opening odds for 5 and 6, the 80%/90% hand-trap counts) and the error/payment response. The exact response shape is still unspecified, but an agent has enough to decide and invoke correctly.

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 by establishing that decklist and handtraps are alternative input paths and that hand traps in a .ydk are auto-detected. It does not explain deck_size beyond what the schema already says (40-60, default 40), which keeps it from a 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?

The description gives a specific verb and resource — computing exact odds of opening at least one (or two) hand traps — and the 'exact' qualifier implicitly separates it from simulation-based siblings like ygo_hand_sim and ygo_goldfish. It stops short of naming any sibling explicitly, so the differentiation is inferable rather than stated.

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?

Usage context is clear: it states the going-first (5-card) and going-second (6-card) cases and the two input routes (numeric hand-trap count or a pasted .ydk with auto-tagging). It never states when to prefer a different tool or what this tool does not cover, so the alternative-selection guidance is absent.

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.