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

@adhisang/minecraft-modding-mcp

by adhi-jp

mixin-validate

Read-only

Validates Mixin classes against a chosen Minecraft version's bytecode, accepting sources, Java paths, mixin configs, or project discovery to catch compatibility errors before build.

Instructions

Validate Mixin classes against a Minecraft version's bytecode. Pass exactly one of source, paths, configPaths or discover:true (each *.mixins.json under projectPath). Without projectPath, version and mapping are required; with it, an omitted one is read from the project, else the call is blocked. Example: {"configPaths":["/p/src/main/resources/m.mixins.json"],"projectPath":"/p"}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mixin-validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoMixin .java files.
scopeNovanilla (default), merged or loader; the latter two need projectPath.
detailNostandard adds explanations and next actions; full adds all evidence.summary
sourceNoMixin Java source text.
mappingNoNamespace of the mixin's names; required without projectPath.
versionNoMinecraft version; required without projectPath.
discoverNotrue: every *.mixins.json under projectPath.
configPathsNoMixin config JSON files (modid.mixins.json).
projectPathNoLoom project: jar lookup, config source roots, default version and mapping.

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?

readOnlyHint=true already tells the agent this is a safe read. The description adds beyond that by stating that the call is hard-blocked when required context is missing, which is useful. It does not describe how the validation reports results, what counts as failure, or what the output looks like.

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?

The description is dense and front-loaded, giving purpose first, then the input-mode constraint, then the fallback rule, then a concrete example. The example is short and directly useful, but the middle sentence is heavy with nested conditional clauses.

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?

For a 9-parameter tool with no output schema, the description covers invocation rules well, but it says nothing about what the validation returns or whether the returns include actionable findings. The detail enum hints at output tiers, yet neither the description nor the schema catalog can explain the result shape.

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?

The schema has 100% coverage, so the schema baseline would already be 3. The description adds genuinely new semantics on top: source, paths, configPaths and discover:true are mutually exclusive, and projectPath supplies default version and mapping. The schema cannot express this because it does not declare a oneOf or required sets.

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 leads with a specific verb and resource: "Validate Mixin classes against a Minecraft version's bytecode." That is unambiguous, though it never distinguishes this tool from siblings such as mixin-verify-target or access-validate, so an agent must infer which to pick from the names alone.

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?

It gives clear rules for when the call is valid: pass exactly one of the four input modes, and supply version plus mapping when no projectPath is given. It does not set this tool against sibling validators or state exclusion criteria for their use.

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