Skip to main content
Glama

mod_changes

Compare a Diablo II mod's data tables against a vanilla version to list changed, added, or removed rows and columns, and inspect cell-level differences for a specific table.

Instructions

What a mod's data tables change from a vanilla version. mod: the mod's tables, either a folder on this machine holding its .txt files (the mod's data/global/excel, or a folder containing it) or a table version imported into the data folder. base: the vanilla version to compare against, e.g. '1.13c' (a folder works too). Without file: one line per table that differs (rows added, removed and changed, columns added and removed), then the tables only one side has and the identical ones. With file (e.g. 'Skills.txt'): that table's changed rows cell by cell (column: old → new), then its added and removed rows. Rows are matched by the table's key column (code, name, index, skill, Id...), never by position, and a blank cell equals 0. filter keeps only rows whose key contains that text; limit is the most rows listed per kind (default 40, up to 500). The result is capped at about 40 KB. Vanilla 1.12a, 1.13d and 1.14d are partial sets here: the tables their import couldn't decode are listed as not comparable, with the full version to compare them against instead (1.13c or 1.11b). Says which sets it compared; when the tables aren't set up it says how to import them.

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": {
      "mod": "<mod>",
      "base": "<base>"
    },
    "name": "mod_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
modYes
baseYes
fileNo
limitNo
filterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/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 so well: it discloses the ~40 KB result cap, the default/limit bounds (40 default, 500 max), key-column row matching rather than positional matching, the blank-cell-equals-0 convention, and that some vanilla sets (1.12a, 1.13d, 1.14d) are partial with specific comparable substitutes named. It also states what happens when tables aren't set up, which is exactly the failure-mode context an agent needs.

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 core purpose is front-loaded and the mode-specific behavior follows in a logical order, with no filler sentences. However, it is written as one dense run-on block with parenthetical asides, and the partial-version caveat could be tightened without losing information.

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?

Even though an output schema exists, the description explains the shape of both result modes (table-level counts, then cell-by-cell old → new, then added/removed rows), row-matching semantics, cap behavior, and degraded-version handling. For a 5-parameter comparison tool with no annotations, 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.

Parameters5/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 supply all parameter meaning, and it does: mod is either a folder of .txt files (the mod's data/global/excel or a folder containing it) or a version imported into the data folder; base accepts a version string like '1.13c' or a folder; file targets one table by name (e.g. 'Skills.txt'); filter matches on row key text; limit sets max rows per kind. That is meaning well beyond the bare string/integer types in the schema.

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 opens with a specific operation and resource: what a mod's data tables change from a vanilla version, i.e. a versioned table diff. It clearly separates the two modes (summary diff vs single-file cell-level diff). It does not explicitly distinguish itself from the sibling diff_tables, which is the most likely confusion point, so it falls short of a 5.

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?

Strong within-tool routing: 'Without file' vs 'With file' explains which mode to use and what each returns, plus how filter and limit narrow results. It lacks any guidance on when to prefer a sibling tool (e.g. diff_tables, compare_versions) or when this tool is the wrong choice, so no exclusion criteria are stated.

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