Skip to main content
Glama

PokerInk Poker Tools

calculate_pot_odds

Read-only

Decide whether calling a bet is profitable. Returns the pot odds, the equity needed to break even, and — given an out count — the exact chance of hitting and a call/fold verdict. Use this instead of doing the arithmetic: the break-even share is call divided by (pot + bet + call), so a pot-sized bet needs 33.3% and a half-pot bet 25%, and computing it as bet/(pot+bet) overstates both. The chance of hitting is counted exactly over the unseen cards, not approximated by the Rule of 2 and 4, which overstates by nearly 6 points on a 15-out draw. Pair it with analyze_hand, which returns the out count for a hand.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
betYesThe bet you have to call.
potYesPot size before the bet, in any consistent unit.
outsNoCards that complete your hand. Optional — omit to get the price alone, with no verdict. analyze_hand reports this as total_outs.
streetNoRequired with outs: "flop" when two cards are still to come, "turn" when one is.
implied_extraNoExtra you expect to win on later streets if you hit. Optional, defaults to 0; it lowers the equity required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/non-destructive, so safety is covered; the description adds real behavioral context by stating the computation is exact over unseen cards rather than the Rule of 2 and 4 approximation (citing ~6 points error on a 15-out draw). It also discloses what output changes when outs is omitted, though it does not describe output shape in detail.

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?

Front-loaded with the decision and returns, then justified with the formula and accuracy caveats. Four sentences with parenthetical examples are dense but each supports the 'use this instead of arithmetic' claim; slightly long but no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating the return values (pot odds, break-even equity, exact hit chance, call/fold verdict). The conditional behavior of outs/street is spelled out, so nothing needed to call it correctly 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 parameters are already documented and a 3 is the baseline. The description goes beyond the schema by tying pot and bet together via the break-even formula (call/(pot+bet+call), pot-sized=33.3%, half-pot=25%) and noting that implied_extra lowers the required equity, adding cross-parameter meaning.

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 a specific decision ('decide whether calling a bet is profitable') plus the exact outputs (pot odds, break-even equity, chance of hitting, verdict). It is clearly separable from analyze_hand (out counting) and calculate_equity (equity), so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent to use this instead of manual arithmetic, quantifies why (bet/(pot+bet) overstates the break-even share), explains when outs can be omitted (price only, no verdict), and names analyze_hand as the companion for out counts. When-to-use and the alternative are both covered.

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