Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_devicesA

List known devices with model, OS, transport and current lease holder.

queueA

List agents waiting in the selector FIFO queue.

claimA

Claim a device matching the selector (empty = any usable device). waitSeconds > 0 queues the claim and returns a ticket; re-call claim with that ticket to poll on the returned retryAfterMs cadence (5 s for MCP, or your own clamped proposal via retryAfterMs) until a matching device frees up, then the poll returns the lease. A ticket is skipped by dispatch once it is a few intervals stale, and dropped entirely after ~30 s of silence.

freeA

Release the lease on a serial held by this session. Refuses if another owner holds it.

screenshotA

Capture a PNG screenshot of a device screen. Read-only. serial is optional: omit it to target the single usable connected device. Strict mode (default): your session must hold the device's lease, or be a configured observer (CORRAL_SCREENSHOT_OBSERVERS).

renewA

Extend the lease TTL on a serial held by this session; also accepts a pending offer.

start_emulatorA

Boot an AVD. A started emulator appears in the pool within seconds and is claimable once booted; claim with waitSeconds > 0 and transport=emulator to queue for boot.

stop_emulatorA

Stop every running instance of an AVD. Refuses while one is leased, naming the holder; free that lease first.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5

Most tools target a clearly distinct action (list, start, stop, claim, free, renew, screenshot). The main risk is the pair 'queue' and 'claim': 'queue' sounds like it could join a wait queue rather than list agents, and claim's ticket-polling overlaps conceptually with queueing, but the descriptions clarify the split.

Naming Consistency4/5

All names are snake_case, but the pattern mixes verb_noun (list_devices, start_emulator, stop_emulator) with bare verbs/nouns (claim, free, renew, queue, screenshot). Still predictable and readable, with no camelCase/snake_case mixing.

Tool Count5/5

Eight tools is well-scoped for a device-pool/emulator manager: one per lifecycle stage (inspect, boot, stop, wait, acquire, release, extend, capture) with no redundant entries.

Completeness4/5

The lease lifecycle is fully covered: discover, start/stop emulators, queue inspection, claim with polling, renew, free, plus screenshot. Gaps exist for post-claim interaction (adb/shell execution, logcat, app install, or device reset), which an agent would likely need next.

Maintenance

ActivityActive
ResponsivenessNo recent community issues