Drive a headless Android (redroid) over ADB, exposed as MCP tools. Phone-for-agents: the agent SEES the screen (screenshot), reads a numbered element list (ui, the accessibility-tree trick), and acts (tap/swipe/type/key/launch/install/shell).
droid has 11 well-named action verbs (droid_tap, droid_swipe, droid_type, etc.) and clear, detailed descriptions (avg ~150 chars). All tools have input schemas with types and descriptions. However, output schemas are undocumented, tools return strings or Image objects with no structured field definitions. Error handling is minimal: most tools return plain strings without recovery guidance. No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels. Parameters lack enums where appropriate (e.g., droid_key accepts free-form strings instead of a constrained set). droid_type and droid_shell have security concerns: droid_type explicitly warns that shell metacharacters are not escaped, and droid_shell is an unrestricted escape hatch with no validation.
Install (or reinstall) a local .apk file onto the device.
Press a nav/hardware key: BACK, HOME, RECENTS, ENTER, TAB, DEL, MENU, POWER, VOLUME_UP, VOLUME_DOWN, SPACE — or a raw keycode number/KEYCODE_* name.
Launch an app by exact package (com.android.settings) or a name/package substring (first match wins). See droid_list_apps for what's installed.
List installed package names. third_party_only=False includes system apps.
Capture the current Android screen as PNG. Use this to SEE the phone before acting. Returns a short text notice instead of an image if the capture comes back empty.
Run an arbitrary `adb shell` command on the device (power tool / escape hatch).
Output schemas undocumented. Tools return strings or Image objects with no structured field definitions. LLMs cannot plan downstream calls or extract specific fields reliably.
droid_key accepts free-form string instead of enum. Parameter description lists valid keys but does not enforce them. LLMs may pass invalid keycodes.
droid_type explicitly warns that shell metacharacters are not escaped. This is a command injection risk if LLMs pass untrusted input. No validation or sanitization visible.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Device health: connection, boot state, screen size, and the app on screen. Call this first if anything looks wrong.
Swipe from (x1,y1) to (x2,y2) over duration_ms. Use for scrolling/dragging.
Tap the screen at pixel (x, y). Get coordinates from droid_ui.
Type text into the focused field. TAP THE FIELD FIRST — right after a screen transition the field may not have focus yet and the first characters get dropped; pass settle_ms (e.g. 300) to wait before typing. submit=True presses Enter after. Plain text/URLs only: shell metacharacters (& ; | < > ( ) " ' etc.) are not escaped.
Dump on-screen elements as a numbered list: `#i [Class] "label" clickable @(x,y)`. Tap the @(x,y) with droid_tap. Pair with droid_screenshot for grounding. interactive_only=False lists every node with text/bounds.
droid_shell is an unrestricted escape hatch accepting arbitrary adb shell commands. No validation, no permission checks, no audit trail. Marked IRREVERSIBLE but no confirmation step.
No tool annotations (readOnlyHint/destructiveHint/idempotentHint) despite clear risk levels. droid_tap, droid_swipe, droid_type, droid_key, droid_launch, droid_install, droid_shell are all WRITE or IRREVERSIBLE but not marked in schema.