Skip to main content
Glama
android-reserve-mcp

android-reserve-mcp

by lonnnnnng

dex

Read-only

Inspect Android bytecode classes, methods, references, and Kotlin metadata using exact signatures, mappings, and package jobs; optionally include uniquely selected class source.

Instructions

DEX类/方法/引用与Kotlin。methodId或descriptor使用原始完整签名;packageJobId复用已验证分包,members显式选择APKS。mapping只添加原名投影,重复定义保留歧义。includeSource可展示已唯一选择的类源码。

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>"
    },
    "name": "dex"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
queryNo
actionYes
membersNo
methodIdNo
classNameNo
descriptorNo
methodNameNo
mappingPathNo
definitionIdNo
packageJobIdNo
includeSourceNo
overloadIndexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.5.4
    • addedInput schema / properties / definitionId
      Added value: +{
      +  "pattern": "^[a-f0-9]{64}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / descriptor
      Added value: +{
      +  "maxLength": 4096,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / includeSource
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / members
      Added value: +{
      +  "items": {
      +    "maxLength": 4096,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 128,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / methodId
      Added value: +{
      +  "maxLength": 4096,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / packageJobId
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "path"
      -]New value: +[
      +  "action"
      +]
  2. First observedv0.5.2

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine output semantics beyond that: mapping only projects original names, duplicate definitions remain ambiguous, includeSource only works for a uniquely-selected class, and members explicitly select APKS. It still says nothing about result shape, size, or how each action behaves differently.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is short and every clause carries information, so nothing is padded. However, it is written telegraphically in a noun-plus-qualifier style without verbs or topic sentences, so key constraints like the signature rule are buried mid-string rather than front-loaded. Density without structure costs readability.

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 13-parameter, action-dispatching tool with no output schema and zero schema descriptions, the description is too thin. It never explains how parameters combine per action (for example, which fields are required for method vs references), so an agent cannot reliably construct a valid multi-parameter call. The missing coverage is material rather than cosmetic.

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 0% across 13 parameters, so the description must carry the load, and it only partially does. It clarifies methodId/descriptor must be raw full signatures and constrains packageJobId, members, mappingPath, and includeSource, but path, query, action, className, definitionId, methodName, and overloadIndex remain undocumented in both places. The added meaning is real but leaves roughly half the surface unexplained.

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 opens with a noun list, "DEX classes/methods/references and Kotlin," which maps loosely onto the action enum (classes, class, method, references, kotlin) but never states a verb or what operation is performed on those entities. An agent can infer the domain is DEX inspection, but nothing distinguishes this tool from siblings such as decode, framework, or native. Purpose is recognisable yet vague rather than specific.

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?

There is no statement of when to use this tool versus alternatives, and no guidance on which action value to pick for a given goal. The clause about packageJobId reusing an already-validated split job hints at a prerequisite, but it is a parameter constraint, not usage routing. An agent must infer selection criteria from the enum alone.

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