Skip to main content
Glama
SaltfishSheep

CNPC JavaDoc MCP Server

Show CNPC Class Hierarchy

show-hierarchy
Read-onlyIdempotent

Get the class inheritance hierarchy (superclass chain and direct subclasses) for a CustomNPCs class.

Instructions

Display the class inheritance hierarchy for a CustomNPCs (CNPC) class.

Returns two sections:

  1. Hierarchy: inheritance chain from the class up to root (-> separated)

  2. Subs: direct subclasses (if any)

Example output for BlockEvent: Hierarchy: BlockEvent -> CustomNPCsEvent -> Event -> Object Subs: BlockEvent$BreakEvent BlockEvent$ClickedEvent ...

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
classYesFully-qualified class path using '/' separator (e.g. "noppes/npcs/api/entity/ICustomNpc"). Dot notation is also accepted (e.g. "noppes.npcs.api.entity.ICustomNpc").
mc_versionYesCNPC version to query (e.g. "1.12.2", "cnpc+:1.7.10", "1.20.1"). Supported: 1.10.2, 1.11.2, 1.12.2, 1.16.5, 1.18.2, 1.20.1, 1.7.10, 1.8.9, 1.9.4, BetaZavr:1.12.2, BetaZavr:1.20.1, cnpc+:1.7.10
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive, so the tool's safety profile is clear. The description adds behavioral context by explaining the two return sections and providing an example output, going beyond what annotations offer.

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 concise, front-loads the purpose, and includes an example. It is efficiently structured, though it could be slightly tighter.

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?

For a simple read-only tool with two well-documented parameters, the description covers the purpose, return structure, and provides an example. With no output schema, the description adequately compensates.

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 both parameters. The description mentions dot notation and lists supported versions, but these add little beyond the schema. The baseline of 3 is appropriate.

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?

The description clearly states it displays a class inheritance hierarchy for CNPC, and distinguishes itself from the sibling tool 'search' by its specific function. It explicitly mentions the two output sections (Hierarchy and Subs) and provides an example.

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?

The description implies usage when needing class hierarchy, but does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SaltfishSheep/AI-MCP-CNPCAPIAccess'

If you have feedback or need assistance with the MCP directory API, please join our Discord server