Skip to main content
Glama
Smarter.Poker Model Context Protocol (MCP) Server

Smarter.Poker Model Context Protocol (MCP) Server

Official

calculate_side_pots

Read-onlyIdempotent

Calculate exact main pot, side pots, and uncalled bet returns for 2–9 poker players, including dead money from blinds, antes, or folded bets.

Instructions

Calculate exact Multi-Way All-In Main Pot, Side Pots, and Uncalled Bet returns for 2 to 9 players plus dead money (blinds/antes/folded bets).

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": {
      "contributions": "<contributions>"
    },
    "name": "calculate_side_pots"
  }
}

Input Schema

NameRequiredDescriptionDefault
dead_moneyNoOptional dead money from blinds, antes, or folded players (default: 0).
contributionsYesArray of player chip contributions (e.g. [{"name":"Player 1","amount":2500},{"name":"Player 2","amount":6000},{"name":"Player 3","amount":12000}]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is fully covered. The description's added value is domain semantics: it discloses that the computation produces three distinct result categories (main pot, side pots, uncalled bet returns) and that dead money participates. It does not disclose how folded players' contributions are allocated or any error behavior for invalid inputs.

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?

A single dense sentence with the result categories front-loaded and scope constraints trailing; no filler. Slight cost in readability from stacking three result types and two input caveats into one clause-heavy sentence.

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

Completeness3/5

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

For a pure, deterministic two-parameter calculator with full schema coverage, this is close to sufficient, and the mention of 'returns' gestures at output. However, with no output schema, the description never explains the shape of the returned pots/returns, so the agent cannot anticipate the response structure before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including an example payload, so both parameters are already documented. The description adds one genuinely new constraint not encoded in the schema: the 2-to-9-player limit (the array has no minItems/maxItems), and clarifies that blinds/antes/folded bets constitute dead money.

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?

Names a specific verb (Calculate) and precise resource (Multi-Way All-In Main Pot, Side Pots, Uncalled Bet returns), with scope bounds (2 to 9 players, dead money). It clearly differs from sibling calculators like calculate_pot_odds_and_mdf or calculate_icm_payouts, though it never states that contrast explicitly.

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 phrase 'Multi-Way All-In' implicitly delimits when this applies, and 'plus dead money (blinds/antes/folded bets)' signals the scenario, but there is no explicit when-to-use/when-not guidance or named alternative. The agent must infer applicability from the scenario name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.