Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TURBO_ANDROID_ADBNoPath or binary name for the Android Debug Bridge executable (`AdbTransport`).adb
TURBO_ANDROID_URLNoWhen set (or when `TURBO_ANDROID_TOKEN` / `TURBO_SESSION_ID` is present), `android-mcp` forwards tool calls over HTTP to `turbo-android-d` (`POST /internal/tool`).(empty in direct ADB mode)
TURBO_ANDROID_LANGNoLanguage for tool output and error messages (`en` or `vi`).en
TURBO_ANDROID_SERIALNoTarget device serial passed to `adb -s <serial>` when multiple devices are connected.
TURBO_ANDROID_TRANSPORTNoForce `adb` or `chroot` transport.auto (`adb` on PC/Mac, `chroot` when UID 0 on Linux)
TURBO_ANDROID_IME_PACKAGENoPackage name (or `package/.Service`) of the companion `TurboImeService` APK used for Base64 Unicode and Vietnamese text input.vn.trungthanh.turboandroid

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ui_treeA

Dump and parse the current Android screen UI hierarchy into compact clickable/text nodes with center coordinates (cx,cy). Set onlyChanged=true to return a delta diff (+/~/-) against the previous snapshot.

screenshotA

Capture the current Android screen as a downscaled PNG image.

tapA

Tap an element by 1-based index, text/desc, or resource-id from the latest ui_tree, or at physical screen coordinates (x, y).

swipeC

Swipe from (x1, y1) to (x2, y2) over durationMs milliseconds.

keyC

Send a hardware/navigation key event.

type_textB

Type text into the focused input field, or first tap a target field resolved by index, id, or targetText from the latest ui_tree. Unicode and special characters use Turbo Android IME.

open_appB

Launch an Android application by package name.

list_appsC

List installed Android package names.

current_appA

Get the currently focused foreground Android app package.

waitB

Wait for a specified duration in milliseconds (max 5000ms).

open_settingsA

Open an Android Settings page directly (no approval needed). page: main, wifi, bluetooth, display, sound, battery, apps, app_details (needs package), location, notifications, storage, developer, date, language, accessibility, network.

batch_actionsA

Execute a sequence of non-root Android UI actions (tap, type_text, swipe, key, wait, open_app, open_settings, current_app, list_apps, ui_tree) in one call. Stops on the first error by default.

root_shellC

Run an arbitrary root shell command on the Android host (requires user approval).

settings_putB

Write an Android system/secure/global setting value (requires user approval; security keys are blocked).

settings_getB

Read an Android system/secure/global setting value (read-only).

app_manageA

Inspect or manage an installed Android package (info is read-only; mutations require user approval; core system/deny-zone packages are blocked).

root_fileC

Inspect, list, read, or write files on the Android host with realpath confinement.

system_diagnosticsB

Read Android host diagnostics (battery, memory, storage, thermal, logcat, or filtered dumpsys).

power_saverC

Inspect or control Android Battery Saver / App Standby Bucket.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 19 tools

Disambiguation4/5

Most tools target a clearly distinct layer (UI tree, screenshot, tap/swipe/key, app lifecycle, settings, root, files, diagnostics). Some fuzziness exists between root_shell and the narrower root_file/settings_put/app_manage, and between open_settings (opens a UI page) and settings_get/settings_put (read/write values), but descriptions and approval semantics keep them separable.

Naming Consistency4/5

All snake_case with recognizable families (settings_get/put, root_shell/root_file, open_app/open_settings, list_apps). There is a mix of verb-first (list_apps, open_app) and noun-first (ui_tree, app_manage, power_saver, system_diagnostics) patterns, but each family is internally consistent and guessable.

Tool Count4/5

19 tools is on the heavy side but is justified by a broad Android surface (UI automation, app control, settings, root, files, diagnostics, power). No tool looks redundant enough to remove, though batch_actions and root_shell are broad multi-capability entry points that inflate perceived surface.

Completeness4/5

Covers the core automation loop (observe screen, tap/type/swipe, launch app, batch sequences) plus privileged operations, settings, files, and diagnostics. Notable gaps remain: richer gestures (long-press, double-tap, pinch), element-level waits/conditions, clipboard, and notification-shade interaction, all of which agents must work around via coordinates or root_shell.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues