Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADB_PATHNoCustom path to ADB executable (default: uses system PATH)
DEVICE_SERIALNoSpecific device serial number to target (default: first available device)

Tools

Functions exposed to the LLM to take actions

NameDescription
android_screenshot

Capture a screenshot from the Android device

android_touch

Simulate a touch event at specific screen coordinates

android_swipe

Perform a swipe gesture between two coordinates

android_launch_app

Launch an Android app by package name

android_list_packages

List installed packages on the Android device

android_uiautomator_dump

Dump the UI hierarchy using UIAutomator and return as XML

android_uiautomator_find

Find UI elements by resource ID or text using UIAutomator

android_uiautomator_click

Click on a UI element by resource ID using UIAutomator

android_uiautomator_wait

Wait for a UI element to appear by resource ID

android_uiautomator_set_text

Set text on a UI element by resource ID using UIAutomator

android_uiautomator_clear_text

Clear text from a UI element by resource ID

android_uiautomator_long_click

Perform a long click on a UI element by resource ID

android_uiautomator_double_click

Perform a double click on a UI element by resource ID

android_uiautomator_toggle_checkbox

Toggle a checkbox element by resource ID

android_uiautomator_scroll_in_element

Scroll within a specific UI element

android_start_scrcpy_stream

Start scrcpy streaming for continuous fast frame capture (requires scrcpy installed)

android_stop_scrcpy_stream

Stop scrcpy streaming

android_get_latest_frame

Get the latest frame from scrcpy stream (instant access, no latency)

android_capture_frame_scrcpy

Capture a single frame via scrcpy (faster than ADB screencap)

android_send_key_event

Send a key event to the Android device (e.g., KEYEVENT_HOME, KEYEVENT_BACK, KEYEVENT_ENTER)

android_input_text

Input text into the currently focused field on the Android device via ADB

android_execute_command

Execute a generic ADB command with custom arguments. Allows agents to run any ADB command with their own parameters.

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/jduartedj/android-mcp-server'

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