Skip to main content
Glama

Summarize a session

get_session_summary
Read-onlyIdempotent

One uploaded session's headline numbers: hero, game type, start and end times, hands played, net result in big blinds, and HUD rates (VPIP, PFR, 3-bet, open limp) as percentages with the sample size. Returns an error for an unknown session id. Any key works, free trial included, and it never counts against the allowance. Reads only hands this account uploaded. Docs: https://docs.pokerdata.io/llm-tools#hosted-mcp

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": {
      "session_id": "<session_id>"
    },
    "name": "get_session_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesSession id from list_my_sessions.

Output Schema

NameRequiredDescriptionDefault
idNoSession id.
hudNoHUD rates over this session, as percentages.
heroNoHero name in the history.
errorNoPresent instead of a payload when the request named something that does not exist. No figure is estimated in its place.
handsNoHands in the session.
netBbNoSession result in big blinds.
endedAtNoLast hand timestamp.
game_typeNoGame type: "NLHE", "PLO", "PLO5", or "PLO6".
startedAtNoFirst hand timestamp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / session_id / description
      Added value: +"Session id from list_my_sessions."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Headline numbers and HUD rates for one uploaded session.",
      +  "properties": {
      +    "endedAt": {
      +      "description": "Last hand timestamp.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Present instead of a payload when the request named something that does not exist. No figure is estimated in its place.",
      +      "type": "string"
      +    },
      +    "game_type": {
      +      "description": "Game type: \"NLHE\", \"PLO\", \"PLO5\", or \"PLO6\".",
      +      "type": "string"
      +    },
      +    "hands": {
      +      "description": "Hands in the session.",
      +      "type": "integer"
      +    },
      +    "hero": {
      +      "description": "Hero name in the history.",
      +      "type": "string"
      +    },
      +    "hud": {
      +      "description": "HUD rates over this session, as percentages.",
      +      "properties": {
      +        "limp": {
      +          "description": "Open limp, percent.",
      +          "type": "number"
      +        },
      +        "pfr": {
      +          "description": "Preflop raise, percent.",
      +          "type": "number"
      +        },
      +        "sample": {
      +          "description": "Hands the rates are computed over.",
      +          "type": "integer"
      +        },
      +        "threeBet": {
      +          "description": "3-bet, percent.",
      +          "type": "number"
      +        },
      +        "vpip": {
      +          "description": "Voluntarily put money in pot, percent.",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "id": {
      +      "description": "Session id.",
      +      "type": "string"
      +    },
      +    "netBb": {
      +      "description": "Session result in big blinds.",
      +      "type": "number"
      +    },
      +    "startedAt": {
      +      "description": "First hand timestamp.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the bar is lower. The description still adds real operational context beyond them: an error is returned for an unknown session id, any key works including free trial, calls never count against the allowance, and only hands uploaded by this account are read.

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?

Front-loaded with the returned fields, then error behavior, then access/quota notes and a docs link. Dense and mostly earns its space; the quota sentence is slightly tangential to selecting or invoking the tool but is short enough not to distract.

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?

For a single-parameter read tool with full schema coverage, an output schema, and complete annotations, the description covers what is returned, the failure case, and access constraints. Nothing an agent needs in order to call it correctly is missing.

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 the single parameter is already documented as a UUID sourced from list_my_sessions. The description adds only the implicit 'uploaded session' qualifier and no format or failure semantics beyond the unknown-id error, so baseline 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?

The description names the specific resource and scope ('One uploaded session's headline numbers') and enumerates exactly what is returned: hero, game type, start/end times, hands played, net result in bb, and HUD rates with sample size. An agent can distinguish this from a session list or hand-level tool without opening any schema.

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 rather than stated: the scope 'one uploaded session' plus the schema note that the id comes from list_my_sessions points the agent in the right direction. There is no explicit when-to-use statement or contrast with alternatives like find_hands or get_hand_results for deeper per-hand detail.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.