Skip to main content
Glama

lookup_column

Look up what a data file column does across every game version, returning per-patch file guide entries, D2R Data Guide details, and related articles.

Instructions

Look up what a column does in a data file, e.g. file 'Skills.txt' and column 'srvdofunc'. Returns that column's entry from every file guide to the file, one per game version (1.10 to 1.14, 1.09, 1.08, 1.00 to 1.06), with the section it's in, plus the Phrozen Keep's D2R Data Guide entry (Resurrected 3.x, Reign of the Warlock: type, description, value tables) and other articles that mention the column. Use it whenever a question names a column, and for each column you tell someone to set.

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>",
      "column": "<column>"
    },
    "name": "lookup_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
columnYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the return composition (per-version file guide entries, section, Phrozen Keep D2R Data Guide entry with type/description/value tables, and other mentioning articles). It does not state what happens for an unknown column, whether matching is exact or partial, or whether lookups are case-sensitive.

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 purpose and example lead, and the return details follow with little wasted wording. The second sentence is long and packs version lists and source names densely, but every clause adds information an agent would otherwise lack.

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?

For a simple two-parameter lookup, the description covers what it does, when to use it, and what comes back, and an output schema exists to handle return structure. The main gap is failure/edge behavior for columns that don't exist or are undocumented in some versions.

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 description coverage is 0%, so the description must compensate; it partially does by supplying example values for both parameters (file 'Skills.txt', column 'srvdofunc') that imply the expected format. However, it never clarifies whether the file needs an extension, whether names are case-sensitive, or how columns are matched, leaving real ambiguity for a 2-param tool.

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 gives a specific verb and resource ('Look up what a column does in a data file') and anchors it with a concrete example ('file Skills.txt and column srvdofunc'). An agent can tell this apart from read_article, bin_table_info, or diff_tables without opening the schema.

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?

It states clear triggering conditions: 'Use it whenever a question names a column, and for each column you tell someone to set.' That covers the primary invocation context well, but it names no exclusions or alternatives (e.g., when to use read_article instead for general article content).

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