Skip to main content
Glama

Get tree documentation

get_tree_docs
Read-onlyIdempotent

Tree documentation for one dataset: coverage note from the shipped README and per-stack bundle or node counts from the shipped index. Does not read or modify range bytes.

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": {
      "dataset": "<dataset>"
    },
    "name": "get_tree_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetYesDataset id from list_datasets, e.g. "nl/v2", "nl9", "nlmtt8", "plo", "plo9", "plo5", "plo4hu", "plo6hu".

Output Schema

NameRequiredDescriptionDefault
errorNoPresent instead of a payload when the request named something that does not exist. No figure is estimated in its place.
sourceNoFile the coverage note came from.
stacksNoPer-stack counts.
datasetNoDataset id, echoed.
coverageNoCoverage row from the shipped README.
preflopExploitabilityNoAlways "not available".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / dataset / description
      Previous value: -"Dataset id from list_datasets, e.g. \"nl/v2\", \"nl9\", \"nlmtt8\", \"plo\", \"plo9\", \"plo5\", \"plo6hu\"."New value: +"Dataset id from list_datasets, e.g. \"nl/v2\", \"nl9\", \"nlmtt8\", \"plo\", \"plo9\", \"plo5\", \"plo4hu\", \"plo6hu\"."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Tree documentation and per-stack counts for one dataset.",
      +  "properties": {
      +    "coverage": {
      +      "description": "Coverage row from the shipped README.",
      +      "type": "string"
      +    },
      +    "dataset": {
      +      "description": "Dataset id, echoed.",
      +      "type": "string"
      +    },
      +    "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"
      +    },
      +    "preflopExploitability": {
      +      "description": "Always \"not available\".",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "File the coverage note came from.",
      +      "type": "string"
      +    },
      +    "stacks": {
      +      "description": "Per-stack counts.",
      +      "items": {
      +        "description": "One stack depth of the dataset.",
      +        "properties": {
      +          "analyzed": {
      +            "description": "Analyzed rows at this depth.",
      +            "type": "integer"
      +          },
      +          "bundles": {
      +            "description": "Bundles at this depth, for per-bundle datasets.",
      +            "items": {
      +              "description": "One bundle.",
      +              "properties": {
      +                "analyzed": {
      +                  "description": "Whether the bundle was analyzed.",
      +                  "type": "boolean"
      +                },
      +                "decisionNodes": {
      +                  "description": "Decision nodes in the bundle.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "edges": {
      +                  "description": "Edges in the bundle.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "gzBytes": {
      +                  "description": "Compressed size in bytes.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "key": {
      +                  "description": "Bundle key.",
      +                  "type": "string"
      +                },
      +                "position": {
      +                  "description": "Acting position the bundle covers.",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "decisionNodes": {
      +            "description": "Decision nodes across the bundles.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "edges": {
      +            "description": "Edges across the bundles.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "formats": {
      +            "description": "Formats at this depth.",
      +            "items": {
      +              "description": "Format label.",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "hasRaiseMeta": {
      +            "description": "Whether raise metadata is stored.",
      +            "type": "boolean"
      +          },
      +          "note": {
      +            "description": "How to read the rows at this depth.",
      +            "type": "string"
      +          },
      +          "positions": {
      +            "description": "Positions at this depth.",
      +            "items": {
      +              "description": "Seat label.",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "rows": {
      +            "description": "Index rows at this depth.",
      +            "type": "integer"
      +          },
      +          "sampleKeys": {
      +            "description": "Sample keys, for per-node datasets.",
      +            "items": {
      +              "description": "A node key.",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "stackBb": {
      +            "description": "Stack depth in big blinds.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/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 safety profile is covered. The description adds genuine context beyond that by disclosing provenance (data comes from the shipped README and shipped index, i.e. static documentation rather than computed/live data) and by scoping out range bytes. It says nothing about behavior for an unknown dataset id or about the shape/size of the response.

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 compact sentences, front-loaded with the resource and its contents, then a single scope-exclusion clause. No filler or redundancy.

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?

This is a simple single-parameter read tool with an output schema, so return values need no explanation. The description covers what is returned and what is not touched; only error/edge-case behavior for an invalid dataset id is left unstated, which is minor here.

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 already carries example dataset ids from list_datasets. The description only restates that the scope is 'one dataset', adding no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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 names a specific resource ('tree documentation for one dataset') and enumerates the two components returned: a coverage note from the shipped README and per-stack bundle or node counts from the shipped index. That distinguishes it from data-bearing siblings like get_node or get_range, though it does not name an alternative explicitly.

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 only implied: the reader infers this is the tool to consult before drilling into a tree, and the closing clause 'Does not read or modify range bytes' implicitly points to range-reading tools for actual data. There is no explicit when-to-use or when-not-to-use statement.

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.