Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IOS_MODENoWhat can the server do? read-only exposes inspection only; read-write adds UI control; admin adds app management. Tools above the mode are never registered.read-only
IOS_UDIDNoTarget device UDID.
IOS_DRY_RUNNoPreview without touching the device. Write/admin tools validate + log intent, then return.false
IOS_AUDIT_LOGNoAudit trail. Emits a JSON line to stderr per guarded operation.true
IOS_BUNDLE_IDNoOptional default app bundle ID.
IOS_APPIUM_URLNoURL of the Appium server connection.http://127.0.0.1:4723
IOS_ALLOW_MANAGENoCan it install/terminate/reset apps? The admin tools need this and admin mode; otherwise they aren't even advertised.false
IOS_APP_ALLOWLISTNoWhich apps are in scope? When set, launching/managing any other bundle ID is refused. Defaults to all apps.
IOS_PROTECTED_APPSNoWhich apps are read-only forever. Inspectable/launchable but never terminated, reset, or uninstalled.com.apple.Preferences,com.apple.springboard

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_targetsA

Show the configured Appium connection (URL, target UDID, default bundle ID) and, best-effort, the devices/simulators attached to this Mac.

device_infoA

Session capabilities and device info (model, iOS version, screen) reported by WebDriverAgent.

screenshotA

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

page_sourceA

Dump the current screen's XCUITest element tree (XML) with labels, types, and bounds — use it to find exact tap coordinates.

current_appB

The app (bundle ID / process) currently in the foreground.

list_appsA

List installed apps (best-effort; depends on the WebDriverAgent build).

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

Disambiguation4/5

Each tool targets a distinct slice of device state: element tree, foreground app, installed apps, Appium config, device capabilities, and pixels. The main overlap is between device_info and list_targets, both of which report device/connection details, but the descriptions draw a reasonable line. page_source vs screenshot are both 'screen state' but clearly differentiated by format and use case.

Naming Consistency4/5

All names are snake_case and read as noun phrases describing the returned data (page_source, current_app, list_apps, list_targets, device_info, screenshot). There is no verb_noun action pattern, but the style is uniform and predictable. The lone bare noun 'screenshot' is a minor deviation.

Tool Count3/5

Six tools is on the thin side for an iOS automation server, and the set is entirely read-only inspection with no interaction verbs. The count is internally coherent but leaves the surface feeling under-built for its apparent purpose.

Completeness2/5

The surface covers observation only — no tap, swipe, type, launch/terminate app, or session control. Notably, page_source's description tells the agent to use it 'to find exact tap coordinates' yet no tap tool exists, creating an explicit dead end. This is a significant gap for an iOS driving server.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues