Skip to main content
Glama

Replay information

replay_info
Read-onlyIdempotent

Reads a Warcraft III .w3g replay summary, including map, host, length, version, players, races, and W3MMD winners/losers; it only reads files and changes nothing.

Instructions

Read a replay's summary: game name, map, host, length in milliseconds, game version and build, whether it is from Reforged, and the players with their races. When the map records W3MMD results, it adds the winners and losers. Only reads: it changes no file, and the same call on the same file gives the same result.

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": {
      "path": "<path>"
    },
    "name": "replay_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe .w3g replay. A path under the folders the server was started with (--root). A relative path is taken from the first of them; list_files gives full paths that can be passed as they are.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.2
    • addedInput schema / properties / path / description
      Added value: +"The .w3g replay. A path under the folders the server was started with (--root). A relative path is taken from the first of them; list_files gives full paths that can be passed as they are."
  2. First observedv0.6.1

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, and the closing sentence largely restates that, which earns no credit. What does add value is the disclosure of conditional behavior — winners and losers appear only when the map records W3MMD results — plus a full enumeration of returned fields, which annotations cannot express.

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?

Two tight sentences, with the return contents front-loaded before the behavioral note. The final clause ('only reads... same result') spends words restating what the annotations already guarantee, which is the only real slack.

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?

With no output schema, the description carries the full burden of describing return values, and it does so comprehensively, including the conditional W3MMD case. Nothing an agent needs in order to call this 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?

There is a single parameter at 100% schema description coverage, and the schema itself explains the --root constraint and how relative paths are resolved. The description adds no meaning about the path parameter beyond the schema, so the baseline of 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?

States a specific verb ('Read') and resource ('a replay's summary') and then enumerates exactly what the summary contains: game name, map, host, length, version/build, Reforged flag, players and races. That field list makes it unmistakable against siblings such as map_info or model_info, which cover different resources.

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: an agent can infer it should call this when it wants metadata about a .w3g file. There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named even though list_files is referenced only inside the schema for path construction.

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