Skip to main content
Glama

Texas Hold'em win odds and pot odds for a hand (Bandit Camp poker)

poker_odds
Read-onlyIdempotent

[Calculators] Texas Hold'em win odds and pot odds for a hand (Bandit Camp poker). The poker odds page's simulation (https://rust.wiki/calculators/poker-odds): the rest of the board and every opponent's cards are dealt at random trials times. win_pct = you win outright, split_pct = your share of split pots, equity_pct = both; margin_pct is the 95% margin of error. With to_call, pot_odds_need_pct (call / (pot + call)) and a verdict (call or fold); made_hands is how often you end with each hand and how often that hand wins. Bandit Camp's poker is Rust's in-game scrap game (no rake) - nothing to do with real money. Rust's in-game scrap poker at Bandit Camp, not real-money gambling.

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": {
      "hand": "<hand>"
    },
    "name": "poker_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
potNoScrap in the pot (for pot odds).
handYesYour two cards, e.g. `As,Kd` (ranks 2-10 J Q K A or T, suits s h d c).
seedNoOptional random seed for a repeatable answer.
boardNoCommunity cards so far (0-5).
trialsNoRandom deals to simulate (the page uses 20,000; fewer is faster but rougher).
to_callNoScrap you need to call (0 = nothing to call).
opponentsNoOther players still in the hand (1-5, as on the page).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, and the description adds real substance on top: results come from a Monte Carlo simulation of `trials` random deals including opponent hole cards, and `seed` makes the answer repeatable — i.e. output is stochastic unless seeded. It also decodes the return fields (win_pct, split_pct, equity_pct, margin_pct, pot_odds_need_pct, verdict, made_hands), which matters since there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core simulation and output-field explanation is front-loaded and useful, but the '(Bandit Camp poker)' parenthetical, the raw URL, and the closing restatement that it is scrap poker and not real-money gambling repeat information already given in the first sentence. Tightening would remove roughly a third of the text without losing meaning.

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 7-parameter calculator with no output schema, the description covers the simulation model, the seed for reproducibility, the pot-odds formula, and every returned metric, which is what an agent needs to interpret results. It does not address cost/latency of high `trials` or constraints such as board length interacting with opponents, but nothing essential to correct invocation is missing.

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 baseline is 3, but the description goes beyond per-field docs by explaining how parameters interact: `to_call` plus the pot yields `pot_odds_need_pct` (call / (pot + call)) and a call/fold `verdict`, and `trials` trades speed for precision in the simulation. That relational meaning is not inferable from the schema alone.

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 names a specific verb and resource — Texas Hold'em win odds and pot odds for a given hand — and disambiguates the domain ('Rust's in-game scrap poker at Bandit Camp, not real-money gambling'), which separates it from siblings like blackjack_strategy and big_wheel_odds. It stops short of naming an alternative tool by name, so it is clear but not sibling-routing.

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 required `hand` parameter and the description of what is computed, but there is no explicit statement of when to call this versus an alternative or what preconditions exist (e.g. how many board cards are meaningful). The 'nothing to do with real money' sentence is domain framing, not usage guidance.

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