Skip to main content
Glama
jegriffi91

Mobile Automator MCP Server

by jegriffi91

Start Test (Async)

start_test

Run a Maestro YAML test file with optional WireMock stub replay. Returns a taskId for tracking progress and capturing results.

Instructions

Run a Maestro YAML test file with optional WireMock stub replay. Replays a static script against a booted simulator — does NOT record new network traffic. Returns a taskId; poll_task_status streams live output, get_task_result returns final pass/fail. With MCA_FLOW_PAUSE_RESUME=on, pauses any active recording for the run and auto-resumes; otherwise errors if a session is active. cancel_task interrupts mid-flow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoEnvironment variables passed to Maestro via -e KEY=VALUE flags (e.g., { "APP_ID": "io.appcision.project-doombot" })
platformNoTarget platform (default: ios)
stubsDirNoPath to WireMock stubs root directory (session-xxx/wiremock/) containing mappings/ and __files/ subdirectories. If provided, a stub server is started automatically.
yamlPathYesPath to the Maestro YAML test file
profilingNoOptional performance profiling configuration. When provided, an xctrace (iOS) or dumpsys (Android) profiling session runs in parallel with the test. Results are returned as structured metrics.
debugOutputNoPath to a directory or filename where Maestro should dump debug output (screenshots, hierarchies, logs)
stubServerPortNoPort for the stub server (default: auto-select available port)
driverCooldownMsNoiOS-only: pause after uninstalling the XCTest driver to let port 7001 drain (default: 3000). Only applies on the uninstall path — a healthy driver is reused without cooldown.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
statusYes
taskIdYes
startedAtYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=false and idempotentHint=false, and the description adds useful behavioral details: it is async (returns taskId), does not record traffic, can be canceled via cancel_task, and handles active recording pauses. This goes beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at five sentences, with no wasted words. It front-loads the primary purpose and logically structures additional details (non-recording, async polling, pause/resume condition, cancellation).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers key aspects: purpose, non-recording, async return, result retrieval, cancellation, and the active recording edge case. It assumes a booted simulator is mentioned, which is sufficient given the sibling boot_simulator tool. It is complete for a tool of this complexity, though it could briefly mention prerequisites.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so each parameter is well-documented in the schema. The description does not add extra parameter-level meaning beyond the schema; it mainly provides high-level context about the tool's behavior and return values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool runs a Maestro YAML test file with optional WireMock stub replay, specifying the verb 'run' and the resource 'Maestro YAML test file'. It distinguishes itself from recording tools by explicitly stating it does NOT record new network traffic.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides some implicit guidance (e.g., for static scripts, not recording) and mentions conditions like MCA_FLOW_PAUSE_RESUME for active recordings, but it does not explicitly compare with sibling tools such as start_flow or run_feature_test, which would clarify when to use this tool over alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jegriffi91/mobile-automator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server