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

@adhisang/minecraft-modding-mcp

by adhi-jp

class-mappings

Read-only

List a Minecraft class and its fields and methods with names in obfuscated, Mojang, intermediary, and Yarn namespaces for a chosen version, with pagination.

Instructions

List one class and its fields and methods with their names in all four namespaces (obfuscated, mojang, intermediary, yarn) for a Minecraft version. Pages with limit and cursor. Example: {"version":"1.21.10","className":"net.minecraft.world.item.Item","mapping":"mojang"}

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": {
      "version": "<version>",
      "className": "<className>",
      "mapping": "<mapping>"
    },
    "name": "class-mappings"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoRow kinds to list; default all.
limitNoRows per page; default 20.
cursorNometa.pagination.nextCursor of the previous page.
mappingYesNamespace the names are written in.
versionYesMinecraft version, e.g. "1.21.10".
classNameYesClass name in mapping's namespace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0-rc.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds that results are paged via limit/cursor and clarifies that output carries names in all four namespaces while 'mapping' selects the input namespace — useful disambiguation — but says nothing about ordering, error behavior for unknown classes, or row shape.

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?

Front-loaded with the core action, followed by a short pagination note and a compact example that earns its place. The 'Pages with limit and cursor' sentence largely restates schema text, which keeps it just short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, no output schema, and a paged response, the description covers the essentials of what is listed and how to page. It leaves the return row structure (how the four namespace names are presented per field/method) to inference, which is a real gap given no output schema exists.

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 description coverage is 100%, so the schema already explains version, className, mapping, kinds, limit, and cursor. The description adds a concrete example showing how version/className/mapping combine, and its 'fields and methods' phrasing hints at the kinds filter, but it adds no new meaning for limit, cursor, or the namespace-selection semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: list one class together with its fields and methods, with names in all four namespaces for a given Minecraft version. 'One class' clearly bounds the scope and distinguishes it from broader lookup tools, though it never names a sibling tool.

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 only implied: the 'one class' framing and the worked example suggest this is for inspecting a single known class rather than searching for one, but there is no explicit when-to-use/when-not guidance or pointer to alternatives such as class-find or class-diff.

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