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

@adhisang/minecraft-modding-mcp

by adhi-jp

class-diff

Read-only

Compare one Minecraft class across two versions to identify added, removed, and modified constructors, methods, and fields by mapping namespace.

Instructions

Diff one class between two Minecraft versions: added, removed and modified constructors, methods and fields. mapping (required) is the namespace of className and the returned names. status: ok, not_found (in neither version), unavailable (mapping data could not be loaded). Example: {"className":"net.minecraft.world.item.Item","fromVersion":"1.21.1","toVersion":"1.21.10","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": {
      "className": "<className>",
      "fromVersion": "<fromVersion>",
      "toVersion": "<toVersion>",
      "mapping": "<mapping>"
    },
    "name": "class-diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNosummary: counts; standard: member deltas; full: adds before/after members.full
mappingYesNamespace of className and of the member names returned.
classNameYesFully qualified class name in mapping's namespace.
toVersionYesNewer Minecraft version, e.g. "1.21.10".
fromVersionYesOlder Minecraft version, e.g. "1.21.1".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0-rc.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description meaningfully adds to that by documenting the returned status values: ok, not_found (class in neither version), and unavailable (mapping data could not be loaded). That tells the agent how partial failures manifest instead of raising an error. It stops short of describing return payload shape or size limits, but the status enumeration is genuine behavioral context beyond annotations.

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 operation, then the mapping note, then status values, then a compact example — each sentence earns its place. The mapping sentence slightly duplicates the schema, but no sentence is filler and the example is immediately actionable.

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 no output schema, the description does the necessary work of explaining that the result contains added/removed/modified members and how the detail level scales output volume via the schema enum. Together with the status enumeration, an agent knows what it will get and how failures appear. Only the precise return structure is left unstated, which is a minor gap for this complexity.

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%, so the schema already documents all five parameters including the detail enum and version examples. The description restates mapping's dual role (namespace of className and of returned names) rather than adding new meaning, though the concrete example call does clarify expected value formats. Baseline 3 is appropriate when the schema carries the 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?

States a specific verb and resource (diff one class between two Minecraft versions) and enumerates what is compared: constructors, methods and fields, with added/removed/modified deltas. An agent can distinguish this from version-level comparison work. It never names a sibling such as version-compare or member-list, so there is no explicit differentiation, keeping it at 4.

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 by the purpose statement and the example; there is no explicit 'use this when' or 'prefer X for whole-version diffs' guidance, and no stated prerequisites like needing a resolved artifact or cached mappings. The example call supplies enough shape to infer a correct invocation, but selection among siblings is left to inference.

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