Skip to main content
Glama
rahulkr
by rahulkr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
list_devicesB

List all connected Android devices with details

get_device_infoC

Get comprehensive device information

get_screen_specsC

Get detailed screen specifications - useful for responsive design

screenshotA

Take a screenshot of the device screen. Returns base64 encoded PNG image that can be viewed directly.

screenshot_to_fileB

Save screenshot to a local file

start_screen_recordA
Start recording the screen. Max duration is 180 seconds.
Recording runs in background - use stop_screen_record to stop early.
stop_screen_recordB

Stop any ongoing screen recording

pull_recordingsB

Pull all screen recordings from device to local directory

get_ui_hierarchyB

Dump the complete UI hierarchy as XML. Shows all visible elements, their properties, bounds, and content descriptions.

get_clickable_elementsB

Get all clickable/interactive elements on screen with their coordinates. Perfect for understanding what can be tapped.

find_element_by_textB

Find UI elements containing specific text. Returns element details including tap coordinates.

find_element_by_idB

Find a UI element by its resource ID. Returns element details including tap coordinates.

tapC

Tap at screen coordinates (x, y)

tap_elementB

Tap on an element by text or resource ID. More reliable than raw coordinates.

long_pressC

Long press at coordinates for specified duration

double_tapC

Double tap at coordinates

swipeC

Swipe from start to end coordinates

scroll_downB

Scroll down on the current screen

scroll_upB

Scroll up on the current screen

scroll_to_textB

Scroll until text is found on screen

input_textA

Type text into the currently focused field

clear_text_fieldC

Clear text in current field by sending delete keys

press_keyB
Press a key by keycode name or number.

Common keycodes:
- HOME (3), BACK (4), CALL (5), ENDCALL (6)
- VOLUME_UP (24), VOLUME_DOWN (25), POWER (26)
- CAMERA (27), ENTER (66), DEL/BACKSPACE (67)
- TAB (61), SPACE (62), MENU (82)
- SEARCH (84), MEDIA_PLAY_PAUSE (85)
- PAGE_UP (92), PAGE_DOWN (93)
press_backC

Press the back button

press_homeB

Press the home button

press_recent_appsB

Open recent apps / app switcher

get_current_activityB

Get the currently focused app and activity

launch_appC

Launch an app by package name

launch_activityD

Launch a specific activity

force_stop_appC

Force stop an app

clear_app_dataC

Clear all data for an app (like fresh install)

list_packagesB

List installed packages, optionally filtered

get_app_infoC

Get detailed information about an installed app

install_apkC

Install an APK file

uninstall_appC

Uninstall an app

get_logcatC
Get logcat output.

filter_level: V (Verbose), D (Debug), I (Info), W (Warning), E (Error), F (Fatal)
clear_logcatB

Clear the logcat buffer

get_flutter_logsD

Get Flutter-specific logs

get_crash_logsC

Get crash/exception logs

get_anr_tracesC

Get ANR (Application Not Responding) traces

get_memory_infoC

Get memory usage information

get_cpu_infoC

Get CPU usage information

get_battery_statsC

Get detailed battery statistics

get_gpu_infoB

Get GPU rendering information - useful for performance debugging

get_frame_statsC

Get frame rendering stats for an app - useful for detecting jank

get_network_infoC

Get network connectivity information

toggle_wifiC

Enable or disable WiFi

toggle_airplane_modeC

Enable or disable airplane mode

set_proxyB

Set HTTP proxy for the device - useful for debugging network requests

clear_proxyB

Clear HTTP proxy settings

toggle_show_tapsB

Show visual feedback for taps - useful for demos/recordings

toggle_show_layout_boundsB

Show layout bounds for all views - great for debugging layouts

set_animation_scaleA

Set animation scale (0 = off, 1 = normal, 0.5 = fast). Useful for speeding up UI tests.

rotate_screenB
Rotate screen orientation.
orientation: 'portrait', 'landscape', 'reverse_portrait', 'reverse_landscape', or 'auto'
change_screen_sizeB

Change screen resolution - useful for testing different screen sizes

reset_screen_sizeB

Reset screen size to physical default

change_densityC

Change screen density - useful for testing different DPI

reset_densityB

Reset density to physical default

push_fileC

Push a file to the device

pull_fileC

Pull a file from the device

list_filesB

List files in a directory on the device

read_fileC

Read a text file from the device

shell_commandB

Execute an arbitrary ADB shell command. Use with caution - this gives full shell access.

reboot_deviceC
Reboot the device.
mode: 'normal', 'bootloader', 'recovery'
get_flutter_performance_overlayC

Get Flutter rendering performance info

check_flutter_app_runningC

Check if a Flutter app is currently in foreground

get_accessibility_infoB

Get accessibility service information - useful for a11y testing

set_font_scaleA

Set system font scale (0.85 = small, 1.0 = normal, 1.15 = large, 1.3 = largest). Useful for testing font scaling accessibility.

toggle_talkbackB

Enable or disable TalkBack accessibility service

toggle_high_contrastC

Enable or disable high contrast text

toggle_color_inversionB

Enable or disable display color inversion

set_locationB

Set GPS location (works on emulators)

send_smsB

Send an SMS to the emulator (emulator only)

simulate_callC

Simulate incoming call (emulator only)

capture_screen_for_comparisonC

Capture screenshot with metadata for visual comparison. Saves PNG and returns info for comparing with Figma designs.

get_all_text_on_screenB

Extract all visible text from current screen. Useful for verifying text content matches designs.

get_element_colors_at_positionC
Note: This captures a screenshot and the caller can analyze the pixel.
For actual color extraction, use image processing on the screenshot.

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/rahulkr/r_adb_mcp_server'

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