Skip to main content
Glama

Model information

model_info
Read-onlyIdempotent

Read a Warcraft III model's summary—name, format, version, animations, textures, and geoset count—from an MDX/MDL file or a map's model. Inspect its contents without changing files.

Instructions

Read a model's summary: name, format (MDX or MDL), version, the names of its animation sequences, the textures it uses and its number of geosets. Use it to check which animations or textures a model has, in a model file or in a model imported into a map. For a map, member is required. 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": "model_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesA .mdx or .mdl model file, or a .w3x or .w3m map that holds the model. 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.
memberNoFor a map, the model inside it, as list_members names it, such as war3mapImported\Hero.mdx. Leave it empty for a model file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.2
    • addedInput schema / properties / member / description
      Added value: +"For a map, the model inside it, as list_members names it, such as war3mapImported\\Hero.mdx. Leave it empty for a model file."
    • addedInput schema / properties / path / description
      Added value: +"A .mdx or .mdl model file, or a .w3x or .w3m map that holds the model. 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
Behavior3/5

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

The final sentence restates what the annotations already declare (readOnlyHint, idempotentHint, destructiveHint=false), so it adds little beyond structured data. The genuinely additive detail is the distinction between reading a model file directly and reading a model embedded in a map, which the annotations do not 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?

The return contents are front-loaded in the first clause, then usage, then the map requirement. Three sentences with little waste, though the read-only/idempotency sentence partly duplicates the annotations.

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?

There is no output schema, but the description compensates by listing the returned fields, so an agent knows what to expect. It also covers both the file and map input modes and identifies the one required parameter, leaving nothing essential unstated for a two-parameter read tool.

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 schema already explains both path (root-relative, full paths from list_files work) and member (the model inside a map, empty for a model file). The description's only added value is the conditional requirement that member is needed for a map, so the baseline of 3 is right.

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 (read) and resource (a model's summary) and then enumerates exactly what comes back: name, format (MDX or MDL), version, animation sequence names, textures, and geoset count. That enumeration also separates it from siblings like map_info or replay_info.

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 the use case ('to check which animations or textures a model has') and covers both contexts, a standalone model file and a model imported into a map. The map case adds the explicit prerequisite that member is required. It does not name an alternative tool to use instead for adjacent needs, so it falls just short of a 5.

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