Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANDROID_MODENoAccess mode determining what the server can do (e.g. read-only, read-write, admin).read-only
ANDROID_DRY_RUNNoPreview operations without touching the device. Default is false.false
ANDROID_AUDIT_LOGNoEnable audit logging to stderr. Default is true.true
ANDROID_ALLOW_SHELLNoAllow raw `adb shell` usage (run_shell is not registered otherwise). Default is false.false
ANDROID_ALLOW_INSTALLNoAllow install/uninstall/clear operations. Default is false.false
ANDROID_PACKAGE_ALLOWLISTNoWhich packages are in scope. Defaults to all packages.*
ANDROID_PROTECTED_PACKAGESNoProtected packages that are never uninstalled or cleared. Defaults to settings, systemui, gms.settings, systemui, gms

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
list_devicesB

List connected adb devices and their state.

device_infoB

Model, manufacturer, Android version, and screen size.

screenshotA

Capture the current screen as a PNG image so you can see what's on the phone before acting.

ui_dumpA

Dump the current screen's UI hierarchy (uiautomator XML) with element text and bounds — use it to find exact tap coordinates.

current_appC

The package/activity currently in the foreground.

list_appsA

List installed packages. Third-party only by default.

get_notificationsA

Read current notifications (package + title/text), best-effort. Useful for clearing the pile-up.

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 7 tools

Disambiguation5/5

Each tool targets a clearly distinct aspect: device enumeration, device metadata, screen capture, UI hierarchy, foreground app, installed packages, and notifications. The only near-pair, list_devices vs. device_info, is separated by the descriptions (list all connected devices vs. detail on a device).

Naming Consistency3/5

Conventions are mixed: verb_noun (list_devices, list_apps, get_notifications) alongside bare noun phrases (device_info, screenshot, ui_dump, current_app). Individual names are readable but there is no single predictable pattern to guess a tool name from.

Tool Count4/5

Seven tools is a sensible, well-scoped size for an Android inspection server, with no redundant entries. The caveat is that the count is spent entirely on read/inspect operations, leaving little room for the interaction tools the descriptions imply.

Completeness2/5

The surface is observation-only: you can screenshot, dump the hierarchy, and locate coordinates, but there is no tap, swipe, text input, or key-event tool despite descriptions promising 'see what's on the phone before acting' and 'use it to find exact tap coordinates'. That is a dead end for the core loop, and there is also no way to launch/stop an app or dismiss notifications.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues