Skip to main content
Glama
android-reserve-mcp

android-reserve-mcp

by lonnnnnng

packages

Destructive

Validate selected APK sets for app ID/version, signing certificates, and split dependencies before decoding DEX and resources by module; block mixed device variants.

Instructions

对显式所选APK集合校验包名/版本/全部签名证书/split依赖;APKS需members,不能混合设备变体。decode只在一致性通过后聚合DEX并按模块导出资源。

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": {
      "action": "<action>",
      "path": "<path>"
    },
    "name": "packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
actionYes
engineNo
membersNo
deviceSpecPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the write risk is known. The description adds useful behavioral context beyond that, notably that decode is gated on a consistency check and that it writes exported resources per module. It does not disclose what inspect/select/aab-manifests do, whether outputs overwrite existing directories, or any side effects of a failed validation, so the added value is partial.

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?

Two dense sentences with the primary validation scope front-loaded and constraints following after a semicolon; there is almost no filler. Density is high but the structure is functional and nothing is redundant.

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 destructive five-parameter tool with a five-value action enum, no output schema and zero schema coverage, the description is too thin. Three actions, the engine selector and the deviceSpecPath parameter go entirely unexplained, and there is no indication of what a validation result or decode output looks like.

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 description coverage is 0%, so the description carries the entire burden for five parameters. It clarifies only 'members' (required for APKS) and implicitly the APK-set path; 'action', 'engine' (jadx/apktool/both) and 'deviceSpecPath' are never explained anywhere, and the enum values themselves are undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names concrete validation targets (package name, version, all signing certificates, split dependencies) for an explicitly selected APK set, which is more specific than the bare tool name 'packages'. However, it only accounts for two of the five actions in the enum (validate and decode), leaving inspect, aab-manifests and select unexplained, so an agent cannot fully tell what the tool does across its surface.

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 supplies real preconditions: the APK set must be explicitly selected, APKS input requires the 'members' field, and device variants must not be mixed. It also states decode runs only after consistency passes. What is missing is routing guidance relative to siblings like 'apk', 'decode', 'dex' and 'resources' — the mention of 'decode' here reads as an internal action rather than a pointer to the sibling tool of the same name.

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