Skip to main content
Glama

PokerInk Poker Tools

calculate_equity

Texas Hold'em or Pot Limit Omaha equity for 2-4 specific hands on 0-5 community cards, returning win, tie, and total equity percentages per hand. Hold'em enumerates every remaining board runout (no simulation). Omaha (game: "omaha", four-card hands, best two play) is exact on every postflop street and scores a deterministic 200,000-board sample preflop (±0.2 percentage points, same input always reproduces).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameNoGame type; defaults to "holdem". "omaha" requires exactly 4 cards per hand.
boardNo0-5 community cards, e.g. "9h8h2c". Omit for preflop.
handsYes

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries full responsibility and does so well: it discloses exact enumeration for Hold'em, deterministic 200,000-board sampling for preflop Omaha, the ±0.2 percentage point precision, and reproducibility. This is substantial behavioral detail beyond the raw schema.

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 sentences deliver the core purpose, game variants, algorithm behavior, precision, and output values without redundant phrasing. The most critical decision-driving information is front-loaded.

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?

The description states the return values (win, tie, total equity percentages), input constraints (2-4 hands, 0-5 board cards), and game-specific rules, covering what an agent needs to invoke it correctly. No output schema exists, so the description's explicit output summary is especially valuable.

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?

The input schema already covers game, board, and hands, and the description adds important semantics such as the difference between exact postflop enumeration and sampled preflop evaluation, plus the 'best two play' rule for Omaha. It does not restate every parameter, but it meaningfully supplements the schema.

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?

The description names a specific verb and resource: calculating equity for Texas Hold'em or Pot Limit Omaha across 2-4 hands and 0-5 community cards, with explicit output values. It clearly distinguishes this from siblings like calculate_pot_odds by focusing on equity percentages rather than pot odds.

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

Usage Guidelines4/5

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

The description gives clear context for when to use the tool (equity calculation for specific hands/boards) and elaborates on game-specific behavior such as Omaha requiring four-card hands and best-two-play rules. It does not explicitly state when not to use this tool or name alternative tools, so it misses the top score.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool addresses a clearly distinct poker question: hand/draw identification, equity comparison between specific hands, and pot-odds call decision. There is no functional overlap between the three tools.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using lowercase snake_case, with 'analyze_hand' and two 'calculate_*' tools. The naming convention is uniform and predictable.

Tool Count5/5

Three tools is a well-scoped count for a focused poker calculator server. Each tool covers an essential task without redundancy or bloat.

Completeness4/5

The set covers the core poker workflow: reading a hand, comparing equity, and evaluating pot odds, with useful cross-references between tools. A minor gap is that equity only supports specific hands rather than ranges, and analyze_hand is limited to Texas Hold'em while calculate_equity also handles Omaha.

Resources