Skip to main content
Glama

What this install has

inventory
Read-only

Lists worlds, characters, and mods with launch-ready names, Windows paths, difficulty compatibility, and build/enabled status to choose valid launch arguments and diagnose mod issues.

Instructions

The worlds, characters and mods on this machine.

launch states two preconditions and could check neither. player must already exist — it does not create one, and a duplicate is kicked — and world wants a WINDOWS path the caller had to know in advance. Both are facts about directories sitting right there, and until now the only way to learn either was to launch and read the failure: a kick for the wrong character, and a readiness timeout blaming the heartbeat for the wrong world. Each world's path_win is the exact string launch(world=...) wants, and each player's name is the exact string launch(player=...) wants. That name is read from inside the .plr and can differ from the file's name, which is reported as file. difficulty matters because a journey character cannot join a non-journey world, and the other way round. A character file that cannot be read is listed with error.

The mods answer something else. commands reports responder: false for three different situations — the mod is not built, or it is built and switched off, or it is on and was compiled without the dev bridge — and enabled plus built_here separate the first two.

THOSE TWO ARE NOT ONE FACT. A mod can be enabled and have no .tmod here, because a workshop mod is installed from somewhere else entirely; on the install this was written against, CheatSheet is exactly that. Collapsing them into installed would report it missing and send someone rebuilding a mod that was never the problem.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inventory"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
modsYes
worldsYes
playersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.8.0
    • addedOutput schema / $defs / PlayerOut
      Added value: +{
      +  "properties": {
      +    "difficulty": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Difficulty"
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Error"
      +    },
      +    "file": {
      +      "title": "File",
      +      "type": "string"
      +    },
      +    "name": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Name"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "file",
      +    "difficulty",
      +    "error"
      +  ],
      +  "title": "PlayerOut",
      +  "type": "object"
      +}
    • addedOutput schema / properties / players / items / $ref
      Added value: +"#/$defs/PlayerOut"
    • removedOutput schema / properties / players / items / type
      Removed value: -"string"
  2. First observedv0.6.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive), so the description's job is interpretive context, and it delivers that: `responder: false` is a three-way ambiguous signal that `enabled` plus `built_here` disambiguates, and an unreadable character file is surfaced as `error` rather than omitted. That is genuine behavioral disclosure beyond the annotations. It stops short of a 5 because it never says how the three collections are shaped or whether anything is ever mutated on disk.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and readable, but roughly half the text is editorial rationale — 'launch states two preconditions and could check neither', 'send someone rebuilding a mod that was never the problem', the shouted 'THOSE TWO ARE NOT ONE FACT'. Those lines establish trust in the design rather than telling the agent anything actionable, which is bloat for a parameterless tool.

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 annotations and an output schema already in place, the only remaining burden is telling the agent what the fields *mean* in domain terms, and it covers every non-obvious one: name-vs-file, path_win concatenation, journey/difficulty compatibility, per-file errors, and the responder/enabled/built_here tri-state. Nothing needed to call it or interpret it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so there is nothing for the description to disambiguate at the input layer; the baseline for a 0-param tool is 4. The discussion of `path_win`, `name`, `file` and `difficulty` describes output fields, which belongs to the output schema rather than the input schema.

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?

Opens with a concrete noun list — 'The worlds, characters and mods on this machine' — so the agent knows exactly what resource is being read. It also implicitly demarcates itself from `commands` (mods, but answering 'something else') and from `launch`, which consumes the values this tool produces.

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?

The launch-precondition framing gives real when-to-use context: call this instead of launching and reading a kick or a readiness timeout. It also tells the agent how to read `commands` output for mod state. It never states when *not* to call it or names an alternative source for the same data, so it stops short of explicit routing.

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