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

Smarter.Poker Model Context Protocol (MCP) Server

Official

simulate_poker_variance

Read-onlyIdempotent

Calculate poker variance from win rate, standard deviation, and sample size to estimate expected profit, confidence intervals, loss probability, and hands needed for statistical confidence.

Instructions

Calculate expected profit (EV), standard deviation in BB and buy-ins, 68%/95%/99.7% normal confidence intervals, probability of loss over a sample, and minimum hands required for 95% statistical confidence.

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": "simulate_poker_variance"
  }
}

Input Schema

NameRequiredDescriptionDefault
handsPlayedNoTotal sample size in hands played (default: 50000).
stdDevBb100NoStandard deviation in Big Blinds per 100 hands (e.g. 70 live NLH, 85 6-max online NLH, 135 PLO4, default: 85).
winrateBb100NoTrue winrate in Big Blinds per 100 hands (default: 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that by disclosing the modeling assumption ('normal confidence intervals') and by enumerating exactly what the calculation reports. It does not mention that the result is a deterministic computation with no side effects or that buy-in conversion needs a buy-in size, which keeps it at 4.

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 that front-loads the primary output (EV) and then lists the rest. Every listed quantity corresponds to a real returned metric, so nothing is padding. It is slightly list-like and could be broken for scannability, but there is no wasted wording.

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 correctly compensates by enumerating the returned metrics in detail. All three inputs are fully documented in the schema with defaults. The remaining gap is minor: units/format for the minimum-hands output and the buy-in conversion basis are unstated.

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% and each of the three parameters carries defaults plus concrete example values (70 live NLH, 85 6-max, 135 PLO4), so the schema does the heavy lifting. The description adds nothing about parameter meaning or interaction; baseline 3 applies.

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 opens with a specific verb ('Calculate') and enumerates the exact outputs: EV, standard deviation in BB and buy-ins, three confidence intervals, probability of loss, and minimum sample size. That makes the tool's scope unmistakable and clearly distinct from single-hand calculators in the sibling list. It stops short of naming a sibling it is not (e.g. calculate_bankroll_risk_of_ruin, which also deals with variance), so a 4 rather than a 5.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance at all. The agent must infer from the output list that this is the sample-size/variance analysis tool, and must guess how it differs from calculate_bankroll_risk_of_ruin, which plausibly overlaps. No prerequisites or context of use are stated.

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