Skip to main content
Glama

read_game_data

Reads one row of a Diablo II data table column by column, or compares that row across game versions to show changed fields, so you can inspect exact values per patch.

Instructions

Show one row of a vanilla data table, column by column (empty columns left out), e.g. file='Runes.txt', row='Enigma' (the row's name or code, or 'row 12' from search_game_data). version: one patch as for search_game_data, or 'all' to compare the row across every patch that has the table: the first shows in full, later ones only the columns that changed. columns optionally limits which columns to show. With file='patch' it reads that patch's patch.txt around the line number given in row.

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": {
      "file": "<file>",
      "row": "<row>"
    },
    "name": "read_game_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowYes
fileYes
columnsNo
versionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the load and does disclose non-obvious behavior: empty columns are omitted, the first patch shows in full while later ones show only changed columns, and file='patch' switches to reading patch.txt. It never states error conditions or the read-only nature explicitly, but the output-shaping behavior is well disclosed.

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 core action and example, then layered with version, columns, and the patch special case. The nested parentheticals make it dense to parse, but every sentence contributes and nothing is filler.

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?

An output schema exists so return values need no explanation, and all four parameters receive semantic coverage. Combined with the version-comparison and patch-mode behavior, an agent has enough to call this correctly, short of explicit error or edge-case handling.

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 the description must compensate and largely does: file (data table, e.g. Runes.txt, or literal 'patch'), row (name, code, or 'row 12'), version (one patch or 'all'), and columns (limits which columns to show). The version format is only defined indirectly by reference to search_game_data, which leaves a gap.

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?

States a specific verb and resource ('Show one row of a vanilla data table, column by column') and anchors it with a concrete example (file='Runes.txt', row='Enigma'). It also distinguishes itself from search_game_data by explaining that row can be a name, code, or 'row 12' from that sibling.

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

Usage Guidelines4/5

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

Gives clear mode-based guidance: version='all' to compare across patches, and file='patch' to read patch.txt around a line number. It does not explicitly say when not to use this in favor of search_game_data or another sibling, so it stops short of full routing guidance.

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