Skip to main content
Glama

static_unpack

Unpacks APK statically to extract all classes*.dex; pass apkPath or pkg to auto-pull. Hardened APKs return shell DEX.

Instructions

静态解包:解压 APK 提取所有 classes*.dex。可传 apkPath 或 pkg(自动拉取)。加固 APK 得到的是壳 dex。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pkgNo
outDirNo
serialNo
apkPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the real behavioral trait that hardened APKs produce only shell dex — valuable domain context — but says nothing about where output lands, permissions, or whether anything is modified.

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?

Three short, front-loaded sentences that each add information: what it does, how to invoke it, and the hardened-APK caveat. No padding.

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?

Covers purpose and one important caveat, which is the minimum viable for this tool. But with 0% schema coverage and no annotations or output schema, the missing explanation of outDir/serial and of where extracted dex files go leaves real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 4 parameters, and the description only explains apkPath and pkg (including that they are alternatives). outDir and serial are undocumented in both schema and description, so half the parameters remain opaque.

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?

States a specific verb and resource: static unpacking, decompressing an APK to extract all classes*.dex files. The word 'static' implicitly separates it from the dynamic sibling frida_unpack, but no sibling is named explicitly.

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?

Says apkPath or pkg can be supplied (pkg triggers auto-pull), which is useful selection context. The note that hardened APKs only yield shell dex implicitly steers the agent toward a dynamic unpacker, but no alternative tool is named, so the routing is left to inference.

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