Skip to main content
Glama
android-reserve-mcp

android-reserve-mcp

by lonnnnnng

doctor

Read-only

Checks Android analysis environment readiness and dependencies; optionally validates Frida bindings, Java template compilation, and REA handshake without connecting to a device.

Instructions

默认检查路径且不启动REA;deep=true返回任务,实际导入Frida binding、编译固定Java模板并握手REA。深度检查不连接设备。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "doctor"
  }
}

Input Schema

NameRequiredDescriptionDefault
deepNo
timeoutSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.4
    • addedInput schema / properties / deep
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / timeoutSeconds
      Added value: +{
      +  "maximum": 180,
      +  "minimum": 5,
      +  "type": "integer"
      +}
  2. First observedv0.5.2

TDQS

B3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered; the description still adds real value by disclosing that deep mode returns a task, performs actual binding-import/template-compile/handshake work, and never touches a device. However, it omits what is returned on failure, whether the compile leaves artifacts, and how the returned task is consumed. The stated 'actual import/compile' work sits slightly in tension with readOnlyHint, but reads as transient diagnostic probing rather than environment mutation, so it is not flagged as a contradiction.

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 dense clauses, each carrying information, with the default-versus-deep contrast front-loaded. The only cost is heavy jargon ('REA', '固定Java模板') that forces the reader to decode rather than understand.

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?

For a two-parameter diagnostic tool with no output schema, the description covers mode behavior and the device-isolation guarantee, which is the critical piece. It still leaves unclear what a check result looks like and what timeoutSeconds controls, which matters because the tool apparently spawns a task.

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 must carry all parameter meaning. It explains the deep flag's two behaviors reasonably well but says nothing about timeoutSeconds (5-180), leaving half the parameters undocumented anywhere.

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 says the tool checks a path by default and that deep=true 'returns a task' while actually importing a Frida binding, compiling a fixed Java template, and handshaking with REA. That names concrete actions, but the core purpose ('doctor' = health/diagnostic check) is never stated plainly, and the acronym REA is left undefined, so an agent must infer what is being diagnosed. No sibling (frida, framework, jobs) is named to disambiguate.

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?

It does contrast the two modes: the default only checks the path and does not start REA, whereas deep=true does the heavier checks and explicitly does not connect to a device. That is useful mode selection, but it gives no guidance on when to call doctor at all versus apk/frida/framework, and no prerequisites or cost warnings for deep mode.

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