Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADB_PATHNoThe full path to the adb executable. If not set, it will be auto-detected from PATH and common locations.auto-detected
ADB_SCREENSHOT_DIRNoDirectory to save screenshots.screenshots/

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
adb_device_infoB

Get device model, Android version, screen, battery, IP, and serial.

adb_batteryA

Get battery level, charging status, and temperature.

adb_clipboardA

Get clipboard text (Android 10+).

adb_tapB

Tap screen at pixel coordinates (x, y).

adb_swipeA

Swipe from (x1,y1) to (x2,y2) with optional duration (ms).

adb_textA

Type text into focused input. ASCII via key injection, Unicode via clipboard paste (Android 10+).

adb_keyeventA

Send a safe key event (HOME, BACK, ENTER, etc.). Allowed: navigation, editing, media, alphanumeric keys.

adb_screenshotA

Take screenshot, returns file path or base64.

adb_screen_sizeA

Get screen resolution in pixels.

adb_list_packagesA

List installed packages, filterable by keyword and type (user/system/all).

adb_app_infoA

Get version, SDK, install date, permissions for an installed app.

adb_app_launchA

Launch an app by package name. Optionally specify an activity.

adb_app_stopA

Force-stop an app by package name.

adb_current_appA

Get the package name and activity of the foreground app.

adb_shellA

Execute an Android shell command. ⚠️ Requires confirm=true.

adb_termux_execA

Execute a command in Termux bash. ⚠️ Requires confirm=true.

adb_pullA

Copy a file from device to local computer.

adb_ui_treeA

Get UI element tree (accessibility dump) with bounding boxes and positions.

adb_observeA

Take screenshot (base64) + UI tree in one call. Recommended for "looking" at the screen.

adb_tap_textA

Find UI element by text/ID/content-desc and tap its center. Regex partial match.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LLL-404/adb-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server