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

Smarter.Poker Model Context Protocol (MCP) Server

Official

calculate_bankroll_risk_of_ruin

Read-onlyIdempotent

Calculates exact poker Risk of Ruin and required buy-in buffers for 5% and 1% thresholds from winrate, standard deviation, and current bankroll.

Instructions

Calculate exact Brownian motion poker Risk of Ruin (RoR) percentage and required buy-in buffers for 5% and 1% Risk of Ruin from true winrate (BB/100), standard deviation (BB/100), and bankroll buy-ins.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_bankroll_risk_of_ruin"
  }
}

Input Schema

NameRequiredDescriptionDefault
buy_insNoCurrent bankroll expressed in 100BB buy-ins (default: 30).
std_dev_bb100NoStandard deviation in Big Blinds per 100 hands (e.g. 70 live NLH, 85 online 6-max NLH, 135 PLO4, default: 85).
winrate_bb100NoTrue winrate in Big Blinds per 100 hands (default: 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, closed-world calculation, so the safety profile is covered. The description adds genuine value beyond that by naming the underlying model (Brownian motion) and stating what the outputs represent (an RoR percentage and buy-in buffers at the 5% and 1% thresholds). It stops short of noting model assumptions or limitations (e.g., that continuous Brownian motion ignores rake or game-selection effects).

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 no filler, front-loading the deliverable (RoR percentage plus the 5%/1% buy-in buffers) before the inputs. It is slightly overloaded with parenthetical unit qualifiers, but every clause carries information.

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 does the necessary work of saying what comes back (an RoR percentage and required buy-in buffers at two thresholds) and all inputs are defaulted and documented in the schema. Missing only an indication of the response structure or the model's key assumptions, which keeps it short of full completeness.

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 coverage is 100% and each parameter already carries units, defaults, and worked examples (70 live NLH, 85 online 6-max NLH, 135 PLO4). The description restates the three inputs and their units but contributes no additional meaning such as acceptable ranges or sensitivity notes, so the baseline of 3 applies.

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?

Names a specific verb (Calculate) and a precisely bounded resource: Brownian-motion poker Risk of Ruin percentage plus required buy-in buffers at 5% and 1% RoR, derived from true winrate, standard deviation, and bankroll buy-ins. This is unambiguous and clearly distinct from the other calculate_* siblings in the catalog.

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 description implies the prerequisites (it lists exactly which inputs the calculation is derived from), which implicitly tells an agent when the tool is applicable. However, it gives no explicit when-to-use/when-not guidance and does not point to any alternative or note what to do when only partial inputs are known.

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