Skip to main content
Glama

Roulette bet maths

roulette_bet_math
Read-onlyIdempotent

The exact payout, win probability, house edge and expected loss of a single roulette bet, for the European, French or American wheel. Applies la partage on French even-money bets, which halves their house edge. Closed-form arithmetic, not a simulation.

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": {
      "bet": "<bet>"
    },
    "name": "roulette_bet_math"
  }
}

Input Schema

NameRequiredDescriptionDefault
betYesBet type: straight, split, street, corner, six line, column, dozen, red, black, odd, even, low or high.
stakeNoAmount staked. Defaults to 1.
wheelNoeuropean (single zero), french (single zero with la partage) or american (double zero). Defaults to european.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the bar is lower. The description still adds real value by disclosing that results are closed-form arithmetic rather than simulated, and that la partage is applied on French even-money bets, halving their edge.

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?

Three short sentences, front-loaded with what is computed, then the wheel-specific rule, then a clarifying note on method. No filler or repetition.

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 correctly enumerates the four returned quantities and explains the wheel variants, which is what an agent needs to call it confidently. Minor gaps remain, such as the units/format of the returned payout and expected loss relative to `stake`, but the essentials are covered.

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 parameter names and allowed values are already documented. The description goes beyond that by explaining the rule difference behind the `wheel` choice (la partage on French even-money bets) and by scoping the calculation to one bet, which affects how `bet` and `stake` should be interpreted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the exact outputs (payout, win probability, house edge, expected loss) for a specific resource (a single roulette bet) and enumerates the supported wheels. This is far more specific than a name restatement and clearly separates it from the sibling blackjack/slot tools.

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 scope ('a single roulette bet') implies when to use it, but there is no explicit when-to-use or when-not guidance, nor any mention of what to do for multi-bet or session-level analysis. Usage is inferable rather than stated.

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