Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADB_PATHNoAlternative custom path to the adb executable. Resolved second in the ADB discovery order.
ANDROID_HOMENoAndroid home directory. ADB is resolved from ${ANDROID_HOME}/platform-tools/adb. Resolved fourth.
EMULATOR_PATHNoAlternative custom path to the Android Emulator executable for the local web UI. Resolved second.
ANDROID_SERIALNoThe serial number of the Android device to target. If multiple devices are connected, set this or pass the device argument to a tool.
ANDROID_ADB_PATHNoCustom path to the adb executable. Resolved first in the ADB discovery order.
ANDROID_SDK_ROOTNoAndroid SDK root directory. ADB is resolved from ${ANDROID_SDK_ROOT}/platform-tools/adb. Resolved third.
ANDROID_EMULATOR_PATHNoCustom path to the Android Emulator executable for the local web UI. Resolved first.

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
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
android_list_devicesA

List locally attached ADB devices and their authorization state. Read-only.

android_device_infoA

Read a small allow-listed set of Android build and hardware properties.

android_screenshotC

Capture the current screen as a PNG. Read-only.

android_get_ui_treeB

Return the current UIAutomator XML hierarchy for locating visible controls. Read-only.

android_tapC

Tap one screen coordinate on the selected Android device.

android_swipeC

Swipe between two coordinates with a bounded duration.

android_type_textA

Type text through ADB. For safety, only letters, digits, spaces, and @ . _ + - / : , are accepted.

android_press_keyA

Press one allow-listed Android key; arbitrary key codes are not accepted.

android_list_packagesC

List installed Android package identifiers. Read-only.

android_launch_appB

Launch an installed package through its launcher activity.

android_force_stop_appB

Force-stop one installed package. This does not clear application data.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 11 tools

Disambiguation5/5

Each tool targets a clearly distinct action-resource pair: device enumeration, device info, screenshot, UI tree, tap, swipe, typing, key press, package listing, app launch, and force-stop. There is no meaningful overlap, and read-only tools are even flagged.

Naming Consistency4/5

All tools share a consistent android_ prefix and mostly follow verb_noun (list_devices, get_ui_tree, launch_app, force_stop_app). A few are noun-only (android_device_info, android_screenshot), a minor deviation from the dominant pattern.

Tool Count5/5

11 tools is well-scoped for Android device automation, covering inspection plus interactions without padded or redundant entries. Each tool earns its place in a coherent workflow.

Completeness4/5

The core automation lifecycle—inspect (devices, info, screenshot, UI tree, packages) and act (tap, swipe, type, key, launch, stop)—is covered end to end. Gaps exist around app install/uninstall and clearing app data, but agents can largely work around them within the stated scope.