Skip to main content
Glama
sapyyy

Java JAR Decompiler & Reverse Engineering MCP Server

by sapyyy

analyze_decompilation_output

Inspect decompiled output directories to count Java files, identify decompilation warnings or errors, and produce a directory tree.

Instructions

Analyzes an existing directory containing decompiled source code to count Java files, detect decompilation warnings/errors, and produce a directory tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputDirYesPath to the directory containing decompiled code.
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It discloses the main actions (count, detect, produce tree) but does not mention side effects, directory requirements (e.g., existence, permissions), output format, or error handling. The word 'existing' hints at a read-only nature, but this is not explicit.

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?

The description is a single, well-structured sentence that front-loads the purpose and lists the deliverables without redundancy. Every word 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?

For a simple one-parameter analysis tool, this description covers the core functionality adequately. However, it omits details such as how results are returned (console vs. file), potential failure modes, and whether it recursively scans subdirectories. These are not critical for basic use but would improve completeness.

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 parameter is already well-documented (path to directory). The description adds minimal extra meaning by emphasizing 'existing' and 'decompiled', but this does not significantly enhance understanding beyond the schema.

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 the tool's action ('Analyzes an existing directory') and its specific outputs (count Java files, detect warnings/errors, produce directory tree). It distinguishes itself from sibling tools like decompile_jar (which creates the directory) and evaluate_and_mavenize_sources (which builds on the analysis).

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 implies when to use it: after decompilation, on an existing directory of decompiled code. It does not explicitly name alternatives or exclusions, but the 'existing directory containing decompiled source code' gives clear context that this is a post-processing step.

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/sapyyy/reverse-engineering-mcp-server'

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