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

@adhisang/minecraft-modding-mcp

by adhi-jp

mod-remap

Destructive

Remap Fabric or Quilt mod jars to Yarn or Mojang names; preview changes by default or apply to write the remapped output jar.

Instructions

Remap a Fabric or Quilt mod jar to yarn or mojang names. Previews unless apply is true: the preview writes nothing and reports outputJar and outputExists; apply writes outputJar, replacing an existing file (a remap needs Java and downloads mappings). An outputJar equal to jarPath is rejected. Example: {"jarPath":"/mods/example-1.0.0.jar","toMapping":"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": {
      "jarPath": "<jarPath>",
      "toMapping": "<toMapping>"
    },
    "name": "mod-remap"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoWrite outputJar, replacing an existing file; default only previews.
forceNoRebuild ignoring the remap cache; refresh Yarn build metadata.
jarPathYesPath to the Fabric or Quilt mod jar.
versionNoMinecraft version; default read from the mod's minecraft dependency.
outputJarNoOutput path; default <modId>-<modVersion>-<toMapping>.jar beside jarPath.
toMappingYesNamespace to remap into.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0-rc.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it states exactly what gets destroyed (apply replaces an existing outputJar), what the non-destructive path reports (outputJar and outputExists), and the environmental cost (requires Java, downloads mappings). It also flags a hard rejection case, outputJar equal to jarPath, which is not visible anywhere in the schema.

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 purpose, then mode behavior, then edge case, then an example — a sensible ordering with almost no filler. The parenthetical about Java and mapping downloads is slightly compressed but still earns its place.

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?

There is no output schema, so the description carries return-value disclosure and does so for the preview path (outputJar, outputExists) but not in detail for the apply path. For a six-parameter mutation tool with full schema coverage, that is nearly complete; only apply-result and failure reporting remain thin.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning: it explains the preview/apply semantics of `apply` and the jarPath-equality rejection rule that the schema does not encode. The worked example also demonstrates the minimal call shape using only the two required parameters.

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 specific verb and resource: remap a Fabric or Quilt mod jar into yarn or mojang namespaces. An agent can immediately tell this is a namespace-remapping operation rather than inspection or search, and the two-target enum is stated up front.

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?

Clearly establishes the default mode (preview, writes nothing) and the condition that switches it (apply true), which is the key decision an agent must make before calling. It stops short of naming when to prefer this over siblings such as mod-inspect or source-export, so there is no explicit alternative routing.

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