Corral
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
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.
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.
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.
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.