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

@adhisang/minecraft-modding-mcp

by adhi-jp

class-find

Read-only

Resolve simple or fully qualified class names to binary names within Minecraft artifacts, jars, and nested jars. Returns status ok, ambiguous, or not_found for source and member lookup.

Instructions

Find fully qualified class names by simple or qualified name in an artifact, including classes in nested jars. A nested class comes back as its binary name (a.b.Outer$Inner), which the source and member tools accept. status: ok (one class), ambiguous (several) or not_found. Example: {"target":{"kind":"version","version":"1.21.10"},"className":"Blocks"}

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": {
      "target": "<target>",
      "className": "<className>"
    },
    "name": "class-find"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 20.
targetYesFields per kind (?=optional): artifact: artifactId; version: version,projectPath?,scope?; jar: jarPath; coordinate: coordinate; workspace: projectPath,scope?; dependency: group,name,dependencyVersion|projectPath. Other fields rejected.
mappingNoNamespace the target is resolved in, of className and the classes returned; not with an artifact target.
classNameYesSimple ("Blocks") or fully qualified class name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0-rc.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses nested-jar traversal, the exact naming convention returned (a.b.Outer$Inner), and the three possible outcomes (ok/ambiguous/not_found). It does not say how ambiguous results are shaped (e.g. the candidate list) or anything about truncation when the limit is hit, which leaves a modest gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences plus a concrete worked example, front-loaded with the core behavior and ending with the result-status contract. No filler, and the example directly disambiguates the target/className call shape.

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 carries the return contract and does so well via the status enumeration and binary-name format. The nested target object is fully documented in the schema, so the only remaining shortfall is the unspecified shape of an 'ambiguous' result.

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 documents target kinds, mapping namespaces, limit default, and className format. The description reinforces className's accepted forms (simple or qualified) and the mapping interaction with the returned names, but adds little beyond what the schema states; baseline 3 applies.

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?

States a specific verb and resource (find fully qualified class names) plus the search key (simple or qualified name) and the scope (in an artifact, including nested jars). It also names the downstream tools that consume the returned binary name, which distinguishes it from lookup/diff siblings like class-mappings or class-diff.

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?

The description establishes the use case (resolving a class name to its FQN inside an artifact, including nested jars) and the follow-on workflow by noting that source and member tools accept the binary name it returns. It does not explicitly exclude alternatives or say when another sibling should be preferred, so it stops short of full when/when-not guidance.

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