Skip to main content
Glama

Lorcana Sim

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

lorcana_draw_odds
Read-only

Lorcana 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 7 and by each turn, on the play (no turn-1 draw) or draw. 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://lorcana-sim.fmf-x402.workers.dev/mpp/lorcana/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": "lorcana_draw_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
turnNo1-20, default 4
cardsYes[{"name":"Elsa - Snow Queen","copies":4,"min":1}]
on_playNodefault true
deck_sizeNodefault 60

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?

With readOnlyHint already declaring safety, the description still adds substantial behavior the annotations cannot convey: pricing ($0.001 per call), the exact payment mechanism (MPP credential in the Authorization header or the mppx endpoint), and what happens without payment (returns the price rather than erroring) or with invalid input (never charged). That is unusually rich disclosure of cost and failure modes for a metered tool.

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?

Purpose and scope are front-loaded in the first sentence, with the metering and payment details following. Dense but every clause carries information an agent needs to call the tool correctly; nothing is redundant.

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 probability calculator with no output schema, the description adequately conveys what comes back (joint odds across groups for the opening 7 and each turn) and what happens on the unpaid path. It stops short of describing the response shape or how multiple card groups are keyed in the result, which is a minor residual gap.

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 on top: 'up to 6 groups' bounds the cards array, and 'on the play (no turn-1 draw) or draw' explains what the on_play boolean actually changes, which the schema's 'default true' does not.

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 ('exact odds to draw your cards by turn N') and scopes it further with 'up to 6 groups', 'opening 7', and play/draw. It never names or contrasts with the closest sibling, lorcana_opening_hand_odds, which also covers opening-hand probability, so an agent must infer the boundary.

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?

Implied usage is clear from the title and description (computing draw probabilities for a deck by turn N), but there is no explicit when-to-use guidance, no exclusions, and no mention of when a sibling like lorcana_ink_odds or lorcana_opening_hand_odds would be the better choice.

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.