Skip to main content
Glama

decompile_apk

Decompile an Android APK into readable Java-like source code with jadx, enabling inspection and analysis of app internals.

Instructions

Decompile an APK to readable Java-like source with jadx. Requires jadx on PATH.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apkPathYesAbsolute path to the .apk file
workspaceNoWorkspace name (not id) - created automatically if it doesn't exist yet. Defaults to "default".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

C2.9/5.0
Behavior2/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It reveals that jadx is required and that the output is Java-like source, but it does not state what the tool actually returns (e.g., source text, file paths, or saved workspace artifacts), whether it creates files, or whether it has side effects on the APK or workspace.

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 compact and effective: the first sentence states the core function, and the second flags the external dependency. Every word earns its place, and the essential prerequisite is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description is too sparse. It does not explain the return format or output destination, the role of the workspace parameter in decompilation, or how this tool relates to the sibling 'decode_apk'. An agent would be uncertain about what happens after invocation and which tool is appropriate for a given task.

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 both apkPath and workspace adequately. The description adds no additional parameter-level detail, such as how workspace influences output or how paths are resolved, so a baseline score of 3 is appropriate.

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 clearly identifies the action (decompile), the resource (APK), and the output (readable Java-like source via jadx), which is a specific and informative purpose. However, it fails to distinguish this tool from the closely named sibling 'decode_apk', leaving room for confusion about which APK-related operation to choose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage guidance is the prerequisite that jadx must be on PATH. There is no mention of when to use this tool over alternatives like decode_apk, build_apk, or other APK analysis tools, nor any exclusions or conditional recommendations.

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