Skip to main content
Glama
vedsmehta

poker-mcp

by vedsmehta

poker-mcp

A poker study / decision-support MCP server and multi-table simulator. It lets an MCP client (Cursor, Claude Desktop, etc.) spin up simulated No-Limit Texas Hold'em tables, play against simple opponent bots across multiple tables at once, and get equity / pot-odds / preflop-chart-based advice for study and practice.

Built on:

  • mcp — the official Python MCP SDK (FastMCP, stdio transport).

  • pokerkit — poker game engine and hand evaluation (NoLimitTexasHoldem, StandardHighHand).

  • pydantic — typed tool inputs/outputs.

Scope & non-goals (please read)

This is a study and simulation tool, not a cheating tool.

  • No real-money site automation or scraping. It does not connect to, scrape, read the screen of, or automate any commercial/real-money poker client. It only plays its own self-contained simulated tables.

  • No webcam / computer-vision player reads. Opponent "reads" here are purely statistics derived from hands you simulate or explicitly import. (A future, clearly-opt-in stub is mentioned below but is out of scope for v1.)

  • No GTO solver in v1. Advice is heuristic (Monte Carlo equity + pot odds + simple preflop ranges). Real solver integration is a future phase (see Roadmap).

Use it to practice multi-tabling, sanity-check equities, and rehearse decisions — not to gain an unfair edge in real games.

Related MCP server: TexasSolver MCP Server

Features

  • Multi-table NLHE simulator with configurable blinds, stacks, seats, and hero seat.

  • Opponent bots: RandomBot, TightBot, CallingStationBot (and a mixed profile).

  • get_pending_actions() multi-table driver: find every table waiting on you.

  • Monte Carlo equity vs N random opponents, plus pot-odds helper.

  • Simple JSON preflop range charts (ships with a 6-max RFI chart).

  • Heuristic advise() combining equity + pot odds + preflop chart with EV rationale.

  • SQLite hand-history storage and opponent stats (VPIP / PFR / AF).

Install

Requires Python >= 3.11 and uv.

uv sync            # create .venv and install runtime deps
uv sync --extra dev  # also install dev deps (pytest)

Run

# as a module
uv run python -m poker_mcp.server

# or via the console script
uv run poker-mcp

The server speaks the MCP stdio transport, so it's normally launched by an MCP client rather than used interactively.

Register in Cursor / Claude (stdio)

Add an entry to your MCP config (e.g. .cursor/mcp.json or Claude Desktop's claude_desktop_config.json). Point cwd at this repository so uv resolves the project environment:

{
  "mcpServers": {
    "poker-mcp": {
      "command": "uv",
      "args": ["run", "python", "-m", "poker_mcp.server"],
      "cwd": "/Users/vedsm/projects/poker-mcp"
    }
  }
}

Tools

Tool

Description

create_table(seats, small_blind, big_blind, starting_stack, hero_seat, bot_profile)

Create a table and deal the first hand; auto-advances bots to the hero.

list_tables()

Summaries of all open tables.

close_table(table_id)

Close/remove a table.

get_table_state(table_id)

Full state summary (board, pot, stacks, hero cards, whose turn, street).

get_legal_actions(table_id)

Legal betting actions for the current actor.

get_pending_actions()

Every table currently waiting on the hero (multi-table driver).

submit_action(table_id, action, amount)

Apply the hero's action, then auto-advance bots to the next decision.

autoplay_bots(table_id)

Advance bots until it's the hero's turn or the hand ends.

advise(table_id, mc_trials)

Recommended action + equity + pot odds + EV rationale.

calc_equity(hole, board, num_opponents, mc_trials)

Monte Carlo equity estimate.

get_opponent_stats(player_id)

VPIP / PFR / AF for a player from stored hands.

import_hand_history(events)

Minimal stub to store externally-provided events.

Cards use standard two-character notation: rank (2-9, T, J, Q, K, A) + suit (c, d, h, s), e.g. As, Kh, Td.

Example flow

  1. create_table(seats=6, hero_seat=0, bot_profile="mixed") → returns a table with an id.

  2. get_pending_actions() → see which tables need you.

  3. advise(table_id) → get a recommendation with equity and reasoning.

  4. submit_action(table_id, "call") (or "raise" with amount) → bots play on; a new hand is dealt when one ends.

Project layout

poker-mcp/
├── pyproject.toml
├── README.md
├── LICENSE
├── data/preflop_ranges/6max_rfi.json
├── src/poker_mcp/
│   ├── server.py            # FastMCP instance + tools
│   ├── config.py
│   ├── schemas.py           # pydantic IO models
│   ├── engine/              # table.py, manager.py, bots.py
│   ├── decision/            # equity.py, preflop.py, policy.py
│   └── modeling/            # store.py (sqlite), stats.py
└── tests/

The hand-history database defaults to poker_mcp.db in the working directory; override with the POKER_MCP_DB environment variable. Override the preflop chart directory with POKER_MCP_RANGES_DIR.

Development

uv sync --extra dev
uv run pytest -q

Roadmap (future phases, not in v1)

  • GTO / solver integration (e.g. TexasSolver) for range-vs-range solving.

  • Richer preflop/postflop range charts and 3-bet/4-bet logic.

  • More sophisticated opponent models and exploitative adjustments.

  • Opt-in live-play study aids. Any webcam/computer-vision "player read" feature is explicitly out of scope for v1 and would only ever be an opt-in study stub — never automation of a real-money client.

License

MIT © Vedant Mehta. See LICENSE.

Available Tools

11 tools
adviseA

Recommend a hero action combining equity, pot odds, and preflop charts.

Args: table_id: Target table id (must be the hero's turn). mc_trials: Monte Carlo rollouts used for the equity estimate.

ParametersJSON Schema
NameRequiredDescriptionDefault
table_idYes
mc_trialsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
equityYes
sizingYes
streetYes
positionYes
pot_oddsYes
table_idYes
reasoningYes
hand_classYes
equity_detailYes
legal_actionsYes
preflop_chartNo
recommended_actionYes

TDQS

A4/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. Mentions table_id must be hero's turn, but lacks details on whether tool is read-only, side effects, or what 'mc_trials' default implies. Leaves behavioral gaps.

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?

Two clear sentences plus args list. Front-loaded purpose, no wasted words. Ideal length for a simple tool.

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?

Tool is simple with 2 params and output schema exists. Description covers key points (hero turn, mc_trials purpose). Could mention output type or that no state is changed, but output schema likely provides that.

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 0%, so description compensates well. Adds meaning: table_id requires hero's turn, mc_trials defines equity estimate rollouts. Could add constraints like range for mc_trials.

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?

Description uses specific verb 'Recommend' and resource 'hero action', clearly stating it combines equity, pot odds, and preflop charts. This distinguishes it from siblings like 'calc_equity' (equity only) and 'submit_action' (execution).

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?

Usage is implied: call when you need a recommended action during hero's turn. No explicit when-not-to-use or alternatives mentioned. Could improve by stating not to use for executing actions or calculating raw equity.

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

autoplay_botsA

Advance non-hero bots until it is the hero's turn or the hand ends.

ParametersJSON Schema
NameRequiredDescriptionDefault
table_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
potYes
boardYes
seatsYes
streetYes
hand_idYes
playersYes
table_idYes
big_blindYes
hand_overYes
hero_seatYes
actor_seatYes
bot_profileYes
hand_numberYes
small_blindYes
is_hero_turnYes
hero_hole_cardsYes

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the core behavior (advancing non-hero bots) and the stopping condition. However, it does not mention side effects, reversibility, or authorization needs, which would enhance transparency.

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?

The description is a single, concise sentence that front-loads the action and condition. Every word is functional; there is no unnecessary information.

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?

The tool is simple with one parameter and an output schema (not provided in description). The description explains behavior but omits details on parameter semantics and output. It is minimally complete for a straightforward automation tool.

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

Parameters2/5

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

Schema coverage is 0% for the 'table_id' parameter, and the description does not explain its meaning or usage. The agent must infer that it identifies the table, but no additional context is provided beyond the schema definition.

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 clearly states the verb 'advance' and the resource 'non-hero bots', and specifies the termination condition ('until it is the hero's turn or the hand ends'). It distinguishes from sibling tools like 'submit_action' and 'get_pending_actions' by focusing on automated bot advancement.

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 usage for automating bot turns but does not explicitly state when to use this tool versus alternatives or when not to use it. The context from sibling tools helps, but explicit guidance is missing.

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

calc_equityA

Estimate hero equity via Monte Carlo against random opponents.

Args: hole: Hero's two hole cards, e.g. ["As", "Ah"]. board: Known community cards (0, 3, 4, or 5), e.g. ["Kd", "7c", "2h"]. num_opponents: Number of random opponents to simulate against. mc_trials: Number of random rollouts to run.

ParametersJSON Schema
NameRequiredDescriptionDefault
holeYes
boardNo
mc_trialsNo
num_opponentsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
tieYes
winYes
lossYes
equityYes
trialsYes
num_opponentsYes

TDQS

A3.8/5.0
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It states the method (Monte Carlo) and mentions opponents are random, but does not disclose potential edge cases (e.g., invalid card formats, board length constraints), error behavior, or return value details. The output schema exists but is not referenced, leaving behavioral gaps.

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?

The description is concise and well-structured: a one-line summary followed by a docstring-style parameter list. Every sentence provides value, and there is no redundancy or wasted words. It is front-loaded with the core purpose.

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?

Given the tool's moderate complexity (4 parameters, Monte Carlo simulation) and the absence of annotations, the description covers the main aspects: algorithm, input format, and parameter semantics. It lacks details on output format, error handling, and performance, but the presence of an output schema mitigates the need to describe return values explicitly. Still, some completeness is lost.

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 description coverage is 0%, so the description must add meaning. It explains each parameter's role: hole cards, board cards (with allowed lengths), number of opponents, and number of trials. This goes beyond the bare type information in the schema. However, it does not mention defaults (5000, 1) which are in 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 clearly states the tool's purpose: estimating hero equity via Monte Carlo simulation against random opponents. It provides a specific verb ('Estimate') and resource ('equity'), and distinguishes from sibling tools like 'advise' or 'get_opponent_stats' which serve different functions.

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 does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention when not to use it. The context suggests it is for equity calculation, but no comparison to siblings like 'advise' is given. This leaves some ambiguity for the agent.

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

close_tableB

Close and remove a table by id. Returns whether it existed.

ParametersJSON Schema
NameRequiredDescriptionDefault
table_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.1/5.0
Behavior3/5

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

Annotations are absent, so the description must disclose all behavioral traits. It mentions the return value (boolean for existence), but omits critical details like whether the action is reversible, if it requires special permissions, or impacts table state for other users. This is acceptable for a simple operation but lacks depth.

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?

The description is a single concise sentence that efficiently conveys the core action and return type. It contains no unnecessary words and is well-structured.

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?

Given the tool's simplicity (1 required param, presence of output schema), the description covers the basics. However, without annotations, it fails to address potential side effects or prerequisites, such as whether the table must be active or if associated data is permanently deleted. More context would improve usability.

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

Parameters2/5

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

With 0% schema coverage, the description fails to add meaning beyond the schema. It merely states 'by id' which is already implied by the required parameter. No details on format, allowed values, or constraints for table_id are provided.

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?

Description clearly states the tool closes and removes a table by ID, and returns whether it existed. It distinguishes from sibling tools like list_tables, create_table, and get_table_state by focusing on removal. However, it does not elaborate on what 'remove' entails, which could be slightly ambiguous.

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?

No guidance is provided on when to use this tool versus alternatives, nor any prerequisites or context (e.g., table must exist, effects on ongoing actions). The description is purely functional without usage direction.

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

create_tableA

Create a new simulated no-limit hold'em table and deal the first hand.

Args: seats: Number of seats (players) at the table (2-9). small_blind: Small blind size in chips. big_blind: Big blind size in chips (> small_blind). starting_stack: Starting stack for each seat. hero_seat: Seat index controlled by you (the hero). bot_profile: Opponent style: 'mixed', 'random', 'tight', or 'station'.

Returns a snapshot of the table; bots are auto-advanced until it is the hero's turn or the hand ends.

ParametersJSON Schema
NameRequiredDescriptionDefault
seatsNo
big_blindNo
hero_seatNo
bot_profileNomixed
small_blindNo
starting_stackNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
potYes
boardYes
seatsYes
streetYes
hand_idYes
playersYes
table_idYes
big_blindYes
hand_overYes
hero_seatYes
actor_seatYes
bot_profileYes
hand_numberYes
small_blindYes
is_hero_turnYes
hero_hole_cardsYes

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that bots auto-advance until the hero's turn or hand ends, which is a key behavioral trait. However, it does not mention any side effects, permissions, or rate limits, leaving gaps for a creation tool.

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?

The description is concise: a short paragraph plus a bullet-like list of arguments. Every sentence adds value, and the key purpose is front-loaded. No wasted words.

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?

Given 6 parameters, no annotations, and an output schema (which covers return values), the description is quite complete. It explains the auto-advance behavior and each parameter. However, it doesn't mention how to reference the created table (e.g., table ID), though siblings like get_table_state imply it. Still, nearly comprehensive.

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

Parameters5/5

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

Schema description coverage is 0%, but the description compensates fully with an Args section that explains each parameter: seats (2-9), small_blind (chips), big_blind (> small_blind), starting_stack, hero_seat (seat index), bot_profile (options like 'mixed'). Constraints and ranges are given, adding meaning beyond the schema's default values.

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 clearly states 'Create a new simulated no-limit hold'em table and deal the first hand.' This specifies the action (create), resource (table), and type (no-limit hold'em). It distinguishes from siblings like list_tables (which lists existing tables) and close_table (which destroys).

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?

The description does not indicate when to use this tool versus alternatives, nor does it mention prerequisites or situations where this tool should be avoided. There is no explicit guidance on context of use.

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

get_opponent_statsA

Return aggregate stats (VPIP/PFR/AF) for a player from stored hands.

ParametersJSON Schema
NameRequiredDescriptionDefault
player_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
afYes
pfrYes
betsYes
vpipYes
callsYes
handsYes
raisesYes
player_idYes

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that the tool returns aggregate stats from stored hands, but lacks details on error handling, permissions, or data freshness.

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?

The description is a single, front-loaded sentence that efficiently communicates the tool's purpose with no extraneous words.

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?

Given the tool has one required parameter and an output schema (not provided), the description is minimally complete. However, it could benefit from noting what happens if player_id is invalid or missing.

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

Parameters2/5

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

The schema has 0% description coverage for parameters. The description does not explain the player_id parameter beyond its name, leaving the agent to infer its meaning from context.

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 clearly specifies the verb 'Return', the resource 'aggregate stats (VPIP/PFR/AF)', and the subject 'a player from stored hands'. It differentiates well from sibling tools like get_table_state or advise.

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 usage when historical player stats are needed, but does not explicitly state when to use this tool versus alternatives like advise or calc_equity. No exclusions or conditions are given.

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

get_pending_actionsA

Return every table currently waiting on the hero to act.

This is the multi-table driver: poll it to find which tables need a decision, act on one via submit_action, then poll again.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.7/5.0
Behavior4/5

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

Description explains the polling mechanism and lifecycle, which adds behavioral context. However, it does not mention potential empty returns or latency, but given the simple nature, it is sufficient.

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?

Two concise sentences with the main purpose front-loaded. Every word is relevant and efficient.

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?

Given zero parameters and an output schema (implied), the description fully explains the tool's role in the workflow, making it complete for an AI agent.

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?

No parameters exist, so the baseline is 4. The description adds no parameter info but none is needed.

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 clearly states it returns every table waiting for the hero to act, using a specific verb 'Return' and specifying the resource. It distinguishes from siblings like 'submit_action' by positioning itself as the polling driver.

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 states the polling pattern: poll, act via submit_action, then poll again. This provides clear when-to-use and suggests the sibling tool for action.

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

get_table_stateC

Return the full current state summary for a table.

ParametersJSON Schema
NameRequiredDescriptionDefault
table_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
potYes
boardYes
seatsYes
streetYes
hand_idYes
playersYes
table_idYes
big_blindYes
hand_overYes
hero_seatYes
actor_seatYes
bot_profileYes
hand_numberYes
small_blindYes
is_hero_turnYes
hero_hole_cardsYes

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It declares a read operation but does not disclose authentication requirements, error handling, or side effects. Minimal transparency.

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?

Single, clear, and efficient sentence with no unnecessary words. Perfectly front-loaded.

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?

Provides the core functionality but lacks details on edge cases, prerequisites (table existence), and output structure. However, the presence of an output schema partially mitigates the need to describe return values.

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

Parameters1/5

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

Schema description coverage is 0% and the description adds no meaning for the 'table_id' parameter beyond its name. The tool name and parameter name imply its purpose, but the description should compensate for the missing schema documentation.

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?

Description clearly states the tool returns the full current state summary for a table. It distinguishes from siblings like 'list_tables' or 'get_pending_actions' by focusing on a comprehensive snapshot. However, it could be more specific about what the state includes.

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?

No guidance on when to use this tool versus alternatives like 'get_pending_actions' or 'advise'. The description only states what it does, not the context or prerequisites.

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

import_hand_historyB

Import raw hand-history events into the store (minimal stub).

Each event is {hand_id, player_id, street, action, amount, voluntary, table_id}. This lets you seed opponent stats from external data.

ParametersJSON Schema
NameRequiredDescriptionDefault
eventsYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
playersYesDistinct players touched by the import.
importedYesNumber of events stored.

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It only mentions 'minimal stub' and the event structure, but does not explain mutation behavior, idempotency, validation, or error handling, leaving significant gaps.

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?

The description is short and front-loaded with the core purpose, followed by a single line listing fields. It is concise but could be slightly more structured with separation of purpose and details.

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

Completeness2/5

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

Despite an output schema being present, the description lacks context on success conditions, idempotency, bulk limits, and data validation. The 'minimal stub' note suggests incompleteness, making the tool under-specified for reliable use.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It lists field names but provides no additional meaning (e.g., valid action values, the meaning of 'voluntary'), offering minimal value beyond the schema titles.

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 clearly states the verb 'import' and the resource 'raw hand-history events', distinguishing it from sibling tools like list_tables or get_opponent_stats which operate on different data.

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 usage for seeding opponent stats from external data, but does not explicitly state when to use or avoid this tool versus alternatives, leaving guidance implied rather than explicit.

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

list_tablesA

List all open tables with their current state summaries.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It states a read operation (listing) without disclosing side effects, permissions, or rate limits. For a simple list, it is adequate but not explicit.

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?

Single sentence front-loads purpose and return value with zero waste.

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?

Tool has an output schema (not shown), so return details are covered. Description hints at 'state summaries' which is sufficient for a simple list tool. Could mention filtering but not necessary.

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?

There are no parameters, so schema coverage is 100% vacuously. The description adds no parameter info, which is acceptable. Baseline for zero parameters is 4.

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 uses a clear verb 'List' and specifies resource 'open tables' and what is returned ('state summaries'). This distinguishes it from siblings like get_table_state (specific table) and create_table/close_table.

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 does not explicitly state when to use this tool versus alternatives. Usage is implied from context but lacks guidance on when not to use it or mention of alternatives.

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

submit_actionA

Submit the hero's action, then auto-advance bots to the next decision.

Args: table_id: Target table id. action: One of 'fold', 'check', 'call', 'bet', 'raise'. amount: Total chips to bet/raise to (required for bet/raise).

After applying the action, bots play out until it is the hero's turn again or the current hand ends (a fresh hand is then dealt).

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYes
amountNo
table_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
potYes
boardYes
seatsYes
streetYes
hand_idYes
playersYes
table_idYes
big_blindYes
hand_overYes
hero_seatYes
actor_seatYes
bot_profileYes
hand_numberYes
small_blindYes
is_hero_turnYes
hero_hole_cardsYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that after submission, bots play out until the hero's turn again or hand ends. It lists valid actions and clarifies that 'amount' is required for bet/raise, which adds important behavioral context beyond the 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?

The description is extremely concise: one sentence for purpose, then an 'Args:' list. Every sentence provides necessary information without redundancy. The structure is front-loaded and easy to parse.

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?

Given the presence of an output schema (not shown but indicated), the description need not detail return values. It covers the core functionality and the auto-advance behavior. However, it doesn't explicitly state that the tool is only valid when it's the hero's turn, which would enhance completeness.

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 description coverage is 0%, so the description must compensate. It explains 'table_id' as target table, 'action' with the list of options, and 'amount' as 'total chips to bet/raise to' clarifying semantics (not increment). This adds significant meaning beyond the schema's type definitions.

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 clearly states 'Submit the hero's action, then auto-advance bots to the next decision,' which specifies both the verb and resource. It distinguishes this tool from siblings like 'autoplay_bots' (auto-plays all) and 'advise' (gives suggestions) by focusing on submitting a specific action for the hero.

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 explains the action submission and subsequent auto-advance but does not explicitly state when to use this tool versus alternatives like 'autoplay_bots' or 'get_pending_actions'. It provides context but lacks clear when-not-to-use guidelines.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 11 tool updatesv0.1.0
    • First observedadvise
    • First observedautoplay_bots
    • First observedcalc_equity
    • First observedclose_table
    • First observedcreate_table
    • First observedget_opponent_stats
    • First observedget_pending_actions
    • First observedget_table_state
    • First observedimport_hand_history
    • First observedlist_tables
    • First observedsubmit_action

TDQS

A3.7/5.0

Scored across 11 tools

Disambiguation5/5

Each tool targets a distinct operation: table lifecycle (create/get/list/close), acting (submit/autoplay/pending), and analysis (advise/equity/stats). The only near-overlap, list_tables versus get_pending_actions, is clearly separated by 'all tables' versus 'tables waiting on hero.'

Naming Consistency4/5

Most tools follow a clean verb_noun snake_case pattern such as create_table, close_table, get_table_state, and submit_action. Minor deviations like 'advise' (verb only) and 'calc_equity' (abbreviated verb) do not undermine the overall consistency.

Tool Count5/5

11 tools is well-scoped for a poker simulation server covering table lifecycle, decision-making, and analysis. Every tool maps to a meaningful workflow step with no obvious redundancy or bloat.

Completeness4/5

Core table workflows are complete: create, list, get state, submit actions, advance bots, and poll pending decisions. The analysis side is solid, but import_hand_history is explicitly a stub and there is no direct hand-history query, leaving a minor gap for deeper opponent data exploration.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with the TexasSolver poker solver to run game theory optimal (GTO) poker calculations, load preflop ranges, and build game trees with structured parameters for analyzing poker hands and strategies.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides poker play recommendations by combining real-time Monte Carlo equity calculations with historical player tracking and exploit-based advice. It enables users to import PokerNow hand histories to analyze player tendencies and receive data-driven coaching for various game situations.
    10
    1
    MIT