MCP tools
Every tool the Poker Study MCP server exposes, generated from the server's own definitions.
This list is generated from the tool definitions the MCP server registers, so it always matches what your client sees. Arguments marked * are required.
Poker Study tools (your data)
Your sessions, opponents, hand reviews and the solver queue. Only on pokerstudy.ai.
enqueue_solveStudio plan. Queue a heads-up postflop solve on the solver VM. Required: title, board (e.g. "3h 3d 2s"), pot (bb), effective_stack (bb). Optional: oop_range, ip_range (NLHE class weights or "random"), bet_sizes (pot fractions, default 0.33/0.75), add_allin, max_aggressions, iterations, tags. The worker dumps the full tree (nodes + EV + action EVs) and, when done, saves it to the user's Explorer library. Returns queue_id; poll get_queued_solve. Interactive customer solves preempt this work.Arguments: title*, board*, pot*, effective_stack*, oop_range, ip_range, bet_sizes, add_allin, max_aggressions, iterations, tagsget_queued_solveLook up one of your queued solves by queue_id. status is pending, running, done, or failed. When done, solution_id is the Explorer library id.Arguments: queue_id*list_queued_solvesList this user's solver-queue jobs (library-solve), newest first.Arguments: limit*list_library_solutionsList postflop solutions already saved in this user's Explorer library (finished solves).Arguments: limit*get_tournament_resultsThe user's MTT results imported from tournament summary files: ROI, ITM%, net profit, buy-in level, field sizes and finishes. This is the ONLY source of tournament economics — hand histories record how hands were played but never what a tournament cost or paid, so use this for any question about profitability, ROI, cashes, buy-in level or bankroll. Money is returned in cents.Arguments: limit*list_my_sessionsList the user's recent uploaded sessions, newest first — id, hero screen name, site, source file, stakes (big blind), table sizes, dates, hands played, net result in bb, and a per-game split (hands and net bb per game) PER SESSION in one call. Page back with `before` = the previous reply's `nextBefore`. This IS the per-session P/L table: use it for trends, 'which session did I lose most', and screen-name resolution. NEVER iterate get_session_summary across sessions to build what this single call (or the injected profile's recentSessions) already returns. game_type matches hole-card count per hand (a mixed CoinPoker dump labeled PLO still lists under PLO5). Dashboard filters are inherited when omitted. An empty list does NOT mean zero hands — call get_hero_stats for the slice.Arguments: limit*, game_type, beforeget_handOne of the user's hands in full, for studying it: positions, stacks, hero's cards and any shown cards, the board, every action on every street with its size in bb (bets and raises as 'raise to' totals, plus potPct), the pot at the start of each street, and each player's net bb. Take session_id and hand_id verbatim from find_hands. For a heads-up PLO4 hand, pass `hand` and `hero` from this reply's `raw` to analyze_hu_plo_hand for the solver's view of every flop, turn and river decision in one call. Set raw: false to leave out the parsed hand.Arguments: session_id*, hand_id*, raw*get_session_summaryGet ONE session's headline numbers + HUD stats. Only for questions about a single specific session the user named — for trends or comparisons across sessions use list_my_sessions (or the profile's recentSessions), never a loop of this tool.Arguments: session_id*get_hand_resultsPer-hand cumulative results for a winnings curve: hands played on the X-axis, cumulative bb won on the Y-axis. Returns an already-downsampled, plot-ready `points` array ([{ hand, bb }], oldest→newest, where `bb` is the running sum of every hand's net up to that point), plus `totalHands` and `netBb`. Pass session_id to chart ONE session hand-by-hand; omit it to chart the user's whole history across all sessions in chronological order. Feed `points` straight into a LineChart /state array (xKey 'hand', yKey 'bb'). Use this — never fabricate a curve by drawing a straight line between a session's start and its total.Arguments: session_id, max_points*find_handsFind specific hands the user played, to discuss, replay, or grade against the solver. Returns per-hand rows for the hand-history table: hand_id, session_id, handAt, position, effStackBb (hero effective stack at hand start in bb, null when unknown), cards, game, session, board, potType, preflop, flop, turn, river, netBb, plus vs-3bet action, PLO6 HU gto vs-3bet grade, and PLO5 6-max RFI grade. Pass game_type ('PLO5') and table_size (6) plus { rfiOpp: true, position: ['UTG'] } to pull 6-max UTG first-in hands. Pass eff_stack_bb { min, max } to keep only hands within a stack range (e.g. { min: 40, max: 70 }) and show the effStack column. Filter leaks with gto_plo5_rfi_bucket freq0 (solver never takes that action) or mixer. Do NOT live-loop get_plo5_strategy over the sample — gto_plo5_rfi is already on each row after ingest/backfill. For PLO6 HU vs-3bet, filter gto_vs_3bet_bucket mixer/freq0 among calls. To SHOW a list, copy the rows verbatim into a HandTable (the user replays a row by clicking it). Feed hand_id + session_id VERBATIM into HandReplay only for a single inline walkthrough.Arguments: session_id, game_type, table_size, since, until, table_format, site, eff_stack_bb, filter, gto_vs_3bet_bucket, gto_plo5_rfi_bucket, sort*, limit*list_my_opponentsList the user's tracked opponents. Chat/Dashboard sidebar filters are inherited when omitted. Each row carries total tracked hands (`handCount`, including watched tables), direct hands against the user (`handsVsHero`), direct-match bb/100 (`heroBb100Vs` / `villainBb100`, null when there are no direct hands), notes count, and the hero/game_type set the villain appeared under. Default order is by hand volume (descending). Because every row already has direct-match winrate, you typically do NOT need to follow up with rank_opponents_by_winrate — that tool is only useful when you want to sort by winrate instead of volume. The user may have hundreds of opponents; if you're looking up a SPECIFIC villain, pass `name` for a substring match — anyone past `limit` is otherwise invisible.Arguments: limit*, name, hero, game_type, min_hands*, sort*get_opponent_notesAuto-generated leak notes for one opponent (e.g. 'folds to flop c-bet 78% (sample 23)'). For the full HUD bundle, call get_opponent_stats from the stat tools.Arguments: opponent_id*get_opponent_limp_rangeShown-hand limp range for opponents: 169-class counts of hole cards villains showed down after a first-in limp. ALWAYS pass position for a seat-specific range — SB limp ≠ EP limp; do not mix those buckets. classesByPosition is a per-seat 169-grid even when position is omitted. Sample is showdown-only. Pair with count_hero_hands { facedLimp: true }. Optional opponent_id, table_size, game_type.Arguments: opponent_id, session_id, position, table_size, since, until, game_type, limit*get_latest_hand_reviewThe user's latest PLO4 hand-history review: totals (hands, clean, mistakes, ungradable, bb lost, mistakes by street) and the mistakes ordered by EV lost, each with the solver's frequencies and EVs (preflop: line, options; postflop: path, best action, action EVs, pot). Grading stops at the first mistake in a hand. An upload of several files is one review. include="all" pages through every graded hand, which also carries each hand's preflop and postflop decisions when available. Pass sessionId to read one session instead.Arguments: sessionId, include*, offset*, limit*get_hand_reviewOne graded PLO4 hand by its hand-history id: status, the first mistake (street, action, bb lost, share of pot) and the solver detail behind it, plus the hand's graded preflop and postflop decisions when available.Arguments: handId*list_hand_reviewsThe user's PLO4 grading jobs, one per uploaded session, newest first: file name, hand count, status (queued, running, done, error), progress and summary.Arguments: limit*get_upload_linkThe page where the user uploads hand-history files (any size; PokerStars, GG, CoinPoker, WPN, iPoker, 888, Winamax, PartyPoker, PT4 and DriveHUD exports). Give the user the URL: they press Upload hands there. Uploaded sessions then show up in list_my_sessions and find_hands. For a short pasted history, use upload_hand_history instead.Arguments: no argumentsupload_hand_historyUpload a pasted hand history or tournament summary (up to 4 MB of text) to the user's account. It runs the same pipeline as the upload page: hands are stored and analyzed, and heads-up and 6-max PLO4 sessions are graded for Studio users. Returns status (stored, duplicate, tournaments or rejected), the new sessionId, hero hands and what was parsed. Then use list_my_sessions, find_hands and get_hand on it. For files, use get_upload_link.Arguments: text*, filename
Shared tools
Ranges, postflop packs, tree docs and strategy comparison. The same tools are on pokerdata.io. Machine-readable at /docs/shared/tools.json, with the REST spec at /api/ranges/openapi.json.
list_gamesDiscover preflop coverage: stack depths and positions for every game. Call this first. "nl" = no-limit hold'em 6-max cash (169-grid hands, per-hand EV in small blinds), "nl9" = no-limit hold'em 9-max cash, "nlmtt8" = no-limit hold'em 8-max MTT chip-EV (10–300bb, 1bb BB-ante; Fold/Call/Limp/AI/Open/3B tokens), "nlh8-hydra" = no-limit hold'em 8-max MTT chip-EV with a classic 0.1bb ante from every seat (10, 20, 30, 60bb; same tokens as nlmtt8), "nlh8-icm" = no-limit hold'em 8-max MTT with ICM: one stack table per scenario (near the money, 33 or 35 left of 200, 30 paid; final table, 8 left), uneven stacks, 0.125bb ante from every seat, EVs in tournament dollars; pass scenario (the games catalog lists them; stack alone works only where one table has that depth); decision nodes only, "nlhu" = no-limit hold'em heads-up for the title, chip-EV, both players at the stack (1–40bb), 0.125bb ante each, SB on the button; decision nodes only, "plo" = pot-limit Omaha 6-max cash (4-card), "plo5" = pot-limit Omaha 5-card 6-max (100bb, 1.2bb ante), "plo9" = pot-limit Omaha 9-max cash, "plo4hu" = pot-limit Omaha 4-card heads-up cash (SB vs BB, 10bb, 20bb, 30bb, 40bb, 50bb, 75bb, 100bb or 200bb, limps allowed, 4.5% rake capped at 0.045bb; history starts "SB"), "plo6hu" = 6-card Omaha heads-up (BTN vs BB, 100bb). Cash trees are not tournament, ICM, PKO, or satellite solves. nlmtt8, nlh8-hydra and nlhu are chip-EV; only nlh8-icm is ICM.Arguments: no argumentslist_spotsEvery valid preflop decision node for a stack depth, tagged by depth (1 = RFI, 2 = vs open, 3 = 3-bet pots, ...). Use it to build valid histories instead of guessing. Compact mode is paginated: pass detail "compact" plus depth, contains, limit, and offset. Omit detail for the full ranges-API body.Arguments: game*, stack*, depth, contains, offset, limit, detailget_nodePreflop decision. history ends in the seat to act. Units: stack and sizeBb are big blinds; sizePctPot is percent of the pot after calling; evs are small blinds (evUnit "sb") relative to fold (evBaseline "fold", fold EV is 0). Two sb = 1 bb; evs are not rescaled. An omitted weight means 0. full:true writes all 169 hold'em hands with explicit 0 and does not invent EVs. A stored size code 40000+pct is a raise of that percent of the pot after calling (ante included); 3 is all-in, 5 is min, 14 is 3 small blinds. Published nlmtt8 raises include sizeBb and sizePctPot. Example: get_node({ game: "nlmtt8", stack: 40, history: "UTG_Fold_UTG1_Fold_LJ_Fold_HJ_Fold_CO_Fold_BTN" }) is BTN to act; AA opens at 23.27sb. A stored 40034 open is sizeBb 2.19 (pack label 2.2x). Add hand for one hand's mix (returned compact unless detail is "full").Arguments: game*, stack*, scenario, history*, hand, minFreq, full, detail, contains, limit, offset, depthget_configTable for one preflop game and stack, in big blinds: seats, stacks, blinds (sb 0.5, bb 1), ante, antePostedBy, stackIncludesAnte, openSizes (first-in raise-to), evUnit, evBaseline, importedAt, availableStacks. Null fields are listed in unverified with a reason. For nlmtt8, stackIncludesAnte is true: the named depth is the starting stack and the 1bb BB ante is posted from it. openSizes at 40bb is open 2.2x (2.2bb) and SB 2.8x (2.8bb). 10bb is all-in/fold versus 50bb stacks, so stacks is null there. evs on nodes are small blinds relative to fold. Example: get_config({ game: "nlmtt8", stack: 40 }).Arguments: game*, stack*get_rangeThe preflop range for one action. `spot` is an action path ending in the action whose range you want, e.g. NLHE "UTG_60%_HJ_Call" or PLO "UTG_Open_HJ_3B". Add `hand` for that hand's frequency.Arguments: game*, stack*, spot*, hand, minFreq, detail, limit, offset, containslist_postflop_packsDiscover the prebuilt 6-max postflop solves. NLHE: heads-up packs (single-raised, 3-bet and 4-bet pots) with pot type, positions, stack, pot, and every solved flop with the bet-size trees it has. Each flop is solved under two trees: "33" (33% pot on the flop, then 75% on the turn and river, plus all-in) and "75" (75% pot on every street, plus all-in). Flops missing a tree are listed under trees.<tree>.missing. PLO4 (`plo4-*` ids, game plo4): graded pot-limit Omaha flop solves, one pack per preflop spot, one tree ("graded", the grader's bet sizes, in betSizing) and ~1,000 sampled hands per side, listed per four-card combo. New PLO4 boards appear as the grader solves them; contains: "plo4" lists only those. Call this first, then get_postflop_node.Arguments: pack, detail, contains, limit, offsetget_postflop_nodeOne flop decision from a prebuilt 6-max postflop solve (NLHE or PLO4): who acts, the pot, every action with its size in bb, the overall frequency of each action, and each hand class's mix and EV (bb), weighted by how often the actor reaches the node with each combo. `path` is the flop action so far, as segments like ["Check", "Bet 1.8"]; an empty path is the first decision (OOP). Child segments come back as `actions[].segment`. Bet-size tree. "33" = 33% pot on the flop, then 75% pot on the turn and river, plus all-in. "75" = 75% pot on every street, plus all-in. Both trees are solved on the same flops. PLO4 packs list hands per four-card combo, with EV and `evLoss` (bb lost per action vs the best one) on boards published since 2026-11-11. Flop decisions only; turn and river nodes are not served yet.Arguments: pack*, tree, board*, path, hand, minFreq, combo, detail, limit, offset, containsget_postflop_rangeThe range a player takes one flop action with, from a prebuilt 6-max postflop solve: hand class weights ("AA:1,AKs:0.42,...", same format as the preflop ranges) after every earlier flop action on the path. PLO4 packs return sampled four-card combos weighted by sample count times action frequency. `path` ends in the action whose range you want, e.g. ["Check", "Bet 1.8", "Call 1.8"] for the check-call range. Bet-size tree. "33" = 33% pot on the flop, then 75% pot on the turn and river, plus all-in. "75" = 75% pot on every street, plus all-in. Both trees are solved on the same flops.Arguments: pack*, tree, board*, path*, hand, minFreqlist_datasetsPreflop datasets covered by the shipped tree docs (README and index): stacks, positions, whether each bundle was analyzed, and the explicit fact that preflop exploitability is not available. Call this before get_tree_docs.Arguments: no argumentsget_tree_docsDocumentation and index summary for one preflop dataset (nl, nl/v2, nl9, nlmtt8, plo, plo9, plo5, plo6hu). Large indexes (plo5) return the first 200 rows plus the totals. Does not include exploitability.Arguments: dataset*get_range_metadataIndex row plus a live read of the manifest and bundle for one preflop game, stack, and path. The live read uses the ranges store (private when configured) and reports status and size only. Exploitability is not available and is not estimated.Arguments: game*, stack*, pathcompare_strategiesPreferred tool for differences between two preflop or postflop contexts. The server fetches both strategies and returns action-frequency and EV deltas plus the largest postflop combo changes, avoiding two large node payloads.Arguments: domain*, baseline*, comparison*, comboLimit, format, objective, anteBbexplain_comboPreferred tool for an exact NLHE postflop hand. Returns the action mix, made-hand and draw classification, and same-rank-class suit comparisons. Frequencies and EV come from the solve; causality is not asserted.Arguments: pack*, board*, path, combo*, comparisonLimit, format, objective, anteBbget_board_reportBoard-texture report for one postflop pack. Action frequencies and range composition are averaged with equal weight per solved board. The result states how many boards were included.Arguments: pack*, path, filters, boardLimit, representativeLimit, format, objective, anteBb