Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TAILSCALE_ADB_UI_BACKENDNoUI backend to use: `adb` (zero phone deps) or `uiautomator2` (live viewfinders / non-focusable overlays). Default is `adb`.
TAILSCALE_ADB_DEVICE_HINTNoTailscale node hostname for dynamic IP lookup. Default is an empty string.
TAILSCALE_ADB_SNAPSHOT_TTL_SECNoExpiry TTL for `@eN` UI node references. Default is `20`.
TAILSCALE_ADB_TOP_BAR_GUARD_PXNoBlocks taps/swipes in the heads-up notification zone unless `allow_top_bar=True`. Default is `140`.
TAILSCALE_ADB_ALLOWLIST_PACKAGESNoComma-separated packages allowed for UI actions, `launch`, `force_stop`, `install`. Default is empty (fail-closed).
TAILSCALE_ADB_ALLOWLIST_PUSH_DIRSNoComma-separated remote directories allowed for `android_push`. Default is empty (fail-closed).

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
android_connectC

Connect to the Android device over Tailscale ADB Wireless Debugging.

android_disconnectA

Disconnect the active or specified ADB serial and clear cached UI refs.

android_snapshotB

Capture a compact UI node tree (@e1..@eN, max 60 nodes) with focus metadata.

android_actC

Execute a safety-checked UI or lifecycle action and invalidate @eN refs.

android_assertC

Poll UI hierarchy for a target element while watching logcat for crashes/ANRs.

android_logsC

Fetch capped logcat output for a package (with post-crash fallback if exited).

android_screenshotA

Capture a resized JPEG screenshot to disk (max width 720px, no base64).

android_installB

Verify APK packageName against Safety Layer and install with adb install -r.

android_pushC

Push a local file into a strictly allowlisted remote Android directory.

android_doctor_batteryA

Read-only battery diagnostics (level, SOH, cycles, temp, voltage, charging state).

android_doctor_radioA

Read-only anonymized cellular radio diagnostics (bands, RSRP/RSRQ/SINR, CA).

android_doctor_systemA

Read-only system health report (RAM/ZRAM, top <=10 PSS processes, thermals, /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 12 tools

Disambiguation5/5

Each tool targets a clearly distinct ADB operation or diagnostic area: connection lifecycle, UI inspection/action/assertion, logs, screenshots, install, file push, and three separated doctor diagnostics. The closest pair, android_snapshot and android_assert, are still distinguishable because snapshot returns the UI tree while assert polls for a target and watches logcat.

Naming Consistency4/5

All tools use a consistent android_ snake_case prefix, making the set easy to scan. A few names are noun-oriented (android_logs, android_screenshot, android_doctor_battery) rather than strict verb_noun, but the convention remains predictable.

Tool Count5/5

Twelve tools is well within the appropriate range for an Android-over-ADB automation server. Each tool covers a distinct, useful capability without obvious redundancy.

Completeness4/5

The surface covers core device automation: connect/disconnect, UI inspection and actions, assertions, logs, screenshots, APK install, file push, and diagnostics. Minor gaps exist around file pull, uninstall, and broader shell/package lifecycle operations, but agents can work around many of these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues