Skip to main content
Glama

List the files inside a map

list_members
Read-onlyIdempotent

List the files a Warcraft III map archive holds, with unpacked and stored sizes read from archive tables, to inspect contents before reading members. Fails on protected maps; changes no files.

Instructions

List the files a map holds (war3map.j, war3map.w3u, imported models and textures, ...) with their unpacked and stored sizes, read from the archive tables without unpacking anything. Use it to see what a map contains before read_member or model_info. Fails on a protected map. 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": "list_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe .w3x or .w3m map. 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 .w3x or .w3m map. 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.1/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: reads from archive tables 'without unpacking anything' (cheap, no disk extraction) and fails on protected maps. The final sentence restates readOnlyHint and idempotentHint rather than adding new information, which caps the score below 5.

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?

Three sentences, front-loaded with what is listed and what is returned, followed by usage and caveats. The closing clause about being read-only and repeatable duplicates annotation hints and could be trimmed.

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 single-parameter read tool with full annotation coverage and no output schema, the description covers contents, return fields, mechanism, prerequisites, and failure mode. Only ordering/pagination of the listing is unaddressed, which is a minor gap.

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 one parameter at 100% schema coverage, and the schema already explains the .w3x/.w3m path, --root resolution, and reuse of list_files output paths. The description adds no further parameter meaning, 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?

Specific verb and resource ('List the files a map holds') with concrete examples of contents (war3map.j, war3map.w3u, imported models and textures) and the returned fields. It is clearly distinct from list_files (filesystem listing) and read_member (single-file extraction).

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?

Explicitly positions the tool as a pre-step: 'Use it to see what a map contains before read_member or model_info.' It also discloses a blocking condition ('Fails on a protected map'), which functions as a when-not caveat. It does not contrast with map_info or list_files, so the alternative routing is only partial.

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