Skip to main content
Glama

One Piece Sim

One Piece draw sim: exact odds to draw your cards by turn N

onepiece_draw_odds
Read-only

One Piece draw sim: exact odds to draw your cards by turn N. Exact joint odds of drawing one or more cards (up to 6 groups) in the opening 5 and by each turn, going first (no turn-1 draw) or second. 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://onepiece-sim.fmf-x402.workers.dev/mpp/onepiece/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": "onepiece_draw_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
turnNo1-20, default 4
cardsYes[{"name":"Nami","copies":4,"min":1}]
on_playNogoing first, default true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

readOnlyHint is consistent with a pure simulation, and the description goes well beyond the annotation by disclosing the $0.001 per-call cost, the MPP payment credential in the Authorization header, the fallback HTTP endpoint, and that unpaid or invalid calls are not charged. Auth requirements and failure behavior are exactly the context an agent needs before calling. It omits anything about response shape or the free price-probe response's structure, keeping it short of a 5.

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 purpose is front-loaded, and the pricing/payment caveat follows in one dense but useful block. The opening clause duplicates the title almost verbatim, which is the main wasted text, and the payment paragraph is longer than ideal but earns its place given the auth requirement.

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 3-parameter, read-only calculation with full schema coverage and no output schema, the description covers what to compute, cost, auth, and unpaid behavior. The one remaining gap is that nothing describes what the odds response looks like, which matters somewhat without an output schema, though the pricing fallback is explained.

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. The description still adds meaning the schema lacks: a hard cap of 6 card groups, and the clarification that turn odds include the opening 5 and that going first skips the turn-1 draw. Those constrain how an agent should build the cards array and set on_play.

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 computation: exact joint odds of drawing one or more cards across up to 6 groups, in the opening 5 and by each turn, going first or second. That is far more precise than the title alone. It never distinguishes itself from the closely related siblings onepiece_opening_hand_odds and onepiece_life_odds, so an agent cannot tell from the text which one answers its question.

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 implied by the scoping detail (opening hand plus turn-by-turn, on the play or on the draw), which lets an agent infer this is the general draw-probability tool. There is no explicit statement of when not to use it, and no named alternative for the overlapping opening-hand case, so routing between siblings is left to inference.

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.