An MCP server that provides tools to control Android devices via ADB (Android Debug Bridge), including app management, screen control, input simulation, and device information retrieval.
This server has 24 tools with consistent but minimal definition quality. All tools have descriptions and registered schemas, but descriptions are brief (10-60 chars, mostly under the baseline 194 char average) and lack context about when to use each tool. Parameter descriptions are present but generic. No error recovery guidance, no output schema documentation, and no tool annotations (destructiveHint/readOnlyHint). The tool set shows good atomic decomposition (each tool does one thing), but lacks the LLM-optimization patterns seen in production-grade servers. Risk classifications exist in the metadata but are not exposed to the LLM via tool annotations, reducing agent decision-making capability.
Perform a back gesture on the Android device
Input key press on the Android device
Input text on the Android device
Install an application on the Android device
Check if a specific application is installed on the Android device
Check if the Android device screen is active
Check if the Android device screen is locked
Descriptions are below target length and lack LLM-optimization context. Most descriptions are 20-60 characters (baseline avg 194 chars). Descriptions like 'Unlock the Android device screen' do not explain WHEN to use this tool vs lock_screen, what happens on success, or prerequisites (e.g., 'Device must be connected via USB and running ADB daemon').
No output schema documentation. Tools return text responses (via mcp.NewToolResultText), but there is no formal documentation of what structure agents should expect. For example, list_app returns a newline-delimited string but does not specify JSON structure, field types, or pagination support. This forces LLMs to parse unstructured text.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 57 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 30 | - | v1 |
Launch an application on the Android device
List all installed applications on the Android device
Lock the Android device screen
Perform a long tap gesture on the Android device screen
Get the screen DPI of the Android device
Get the screen size of the Android device
Take a screenshot and get AI-generated description of the screen content
Execute a shell command on the Android device
Perform a swipe down gesture on the Android device screen
Perform a swipe left gesture on the Android device screen
Perform a swipe right gesture on the Android device screen
Perform a swipe up gesture on the Android device screen
Get system information of the Android device
Perform a tap gesture on the Android device screen
Terminate a running application on the Android device
Uninstall an application from the Android device
Unlock the Android device screen
Tool annotations (readOnlyHint, destructiveHint, idempotentHint) are not used. Risk classifications exist in metadata (READ_ONLY, WRITE, DESTRUCTIVE, IRREVERSIBLE) but are not exposed to the LLM via MCP tool annotations. This means the LLM cannot reason about irreversibility upfront, it will discover side effects only after calling shell_command or uninstall_app.
Error messages lack recovery guidance. Code shows basic error wrapping (e.g., 'return nil, fmt.Errorf("installation failed: %w", err)') but does not categorize errors as retryable/user-fixable/fatal or suggest next steps. An LLM receiving 'installation failed: device offline' has no guidance on whether to retry, ask the user, or escalate.
Numeric parameters (x, y, key_code) lack constraint documentation. The 'tap' tool accepts x and y but does not document valid ranges (e.g., '0 to screen_width-1'). The 'input_key' tool accepts key_code as a number but provides only one example (KEYCODE_HOME=3, KEYCODE_BACK=4) without stating the valid range or reference documentation.
shell_command is a high-risk tool (IRREVERSIBLE risk) with minimal guardrails. Description states 'Shell command to execute' but does not warn that arbitrary shell commands can delete files, wipe the device, or cause irreversible damage. No dry-run option, no command validation, and no confirmation pattern documented.
List tools (list_app) do not implement pagination. If a device has hundreds of installed apps, list_app will return all names in a single response, potentially exhausting context. No limit, offset, or cursor parameters.
Generic tool name 'back' is ambiguous. It could mean 'press back button', 'navigate back in history', or 'go back to previous screen'. Rename to 'press_back_button' or 'navigate_back' for clarity.