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

@adhisang/minecraft-modding-mcp

by adhi-jp

access-validate

Read-only

Validate access widener or access transformer entries against a Minecraft version's bytecode to catch invalid or mismatched access declarations before building.

Instructions

Check an access widener or access transformer against a Minecraft version's bytecode, entry by entry. Pass format, exactly one of content or path, version, and mapping (the file's namespace; required, it overrides a widener header). scope picks the jar; projectPath defaults it to loader. Example: {"format":"access-widener","path":"/p/m.accesswidener","version":"1.21.10","mapping":"intermediary"}

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": {
      "format": "<format>",
      "version": "<version>",
      "mapping": "<mapping>"
    },
    "name": "access-validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoThe file to read.
scopeNoJar: vanilla, merged or loader; default loader with projectPath, else vanilla.
formatYesaccess-widener (Fabric) or access-transformer (Forge, NeoForge).
contentNoThe file's text.
mappingYesNamespace of the file's names; srg: transformers; intermediary, yarn: wideners.
versionYesMinecraft version to check against.
projectPathNoWorkspace whose runtime jar to check against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0-rc.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations only declare readOnlyHint, so the description must carry the rest, and it does add real behavior: 'mapping ... overrides a widener header' is a precedence rule, and the projectPath-to-loader defaulting is disclosed. However, with no output schema and no statement of what a failed check returns (per-entry diagnostics? whole-file verdict?), coverage of the observable result is missing.

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-loads the purpose, then constraints, then defaults, then a compact usage example. Density is high ('Pass format, exactly one of content or path, version, and mapping') but no sentence is filler; the example payload is arguably the most actionable part.

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?

Seven parameters, no output schema, and a validation workflow mean the description should cover what comes back from a check. Inputs, defaults and precedence are complete; the result contract — what an agent sees on success versus per-entry failure — is absent.

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 baseline is 3, but the description adds meaning beyond the schema: the mutual exclusivity of content and path is not encoded as a oneOf in the schema, and the mapping-overrides-header precedence is not in the enum description. That is genuine added 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 object: 'Check an access widener or access transformer against a Minecraft version's bytecode, entry by entry.' That resource specificity distinguishes it from generic validators like mixin-validate or project-validate without naming them. It stops short of an explicit sibling contrast, so 4 rather than 5.

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?

Gives concrete invocation guidance: which arguments to pass, the exclusivity constraint 'exactly one of content or path', and how scope/projectPath interact. It does not state when to prefer this tool over an alternative or when validation is unnecessary, so it stays below a 5.

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