Skip to main content
Glama
@adhisang/minecraft-modding-mcp

@adhisang/minecraft-modding-mcp

by adhi-jp

mod-inspect

Read-only

Read a Minecraft mod JAR's metadata—loader, ID, version, dependencies, mixins, and entrypoints—or list its class entries for source analysis.

Instructions

Read a mod jar's metadata: loader, id, name, version, entrypoints, mixins, access wideners and transformers, dependencies, nested jars, class count. withClasses adds each .class entry path with / as . (a class name except module-info, package-info, META-INF/versions/...) for source-read or member-list with target {"kind":"jar","jarPath":...}. Example: {"jarPath":"/mods/a.jar","withClasses":true}

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": {
      "jarPath": "<jarPath>"
    },
    "name": "mod-inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
jarPathYesPath to the mod jar.
withClassesNoAdd each .class entry's path with / as ., e.g. com.example.Foo$Bar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0-rc.0

TDQS

A4/5.0
Behavior4/5

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

The only annotation is readOnlyHint=true, so the description must carry the rest, and it does disclose the returned payload shape (a named list of metadata categories) plus the opt-in expansion behavior of withClasses and its filtering rules. It stops short of saying anything about error behavior on unreadable or corrupt jars, or about output format/serialization, which would be the remaining behavioral gap.

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 correctly with the purpose before the option details, and the example is useful. However, the parenthetical '(a class name except module-info, package-info, META-INF/versions/...)' is dense and grammatically awkward, and the trailing 'for source-read or member-list with target {...}' clause is spliced on without a clear connective, making it easy to misparse which tool the target argument belongs to.

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?

With only two parameters, a single readOnly annotation, and no output schema, the description does the necessary work: it enumerates return categories, explains the one optional flag and its exclusions, and provides a call example. What is missing is minor but real — no note on failure modes for invalid jar paths and no statement about output size when withClasses is enabled on a large jar.

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?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning beyond the schema: it lists which entry types are excluded from the class expansion (module-info, package-info, META-INF/versions/...), which the schema does not mention, and shows the two parameters together in a worked example. The slash-to-dot transformation is largely a restatement of the schema text, which keeps this from a 5.

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 and resource ('Read a mod jar's metadata') and then enumerates exactly what metadata: loader, id, name, version, entrypoints, mixins, access wideners, dependencies, nested jars, class count. The optional withClasses expansion is clearly framed as an add-on rather than a separate tool, so an agent can distinguish this from mod-search or mod-remap without opening the schema.

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?

The description supplies one concrete chaining guideline: the withClasses output is meant to feed source-read or member-list via a target of {"kind":"jar","jarPath":...}. Beyond that, there is no guidance on when to pick this over siblings such as mod-search, mod-remap, or artifact-resolve, and no when-not conditions. Usage is implied by the field list rather than stated as a selection rule.

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