Skip to main content
Glama
jegriffi91

Mobile Automator MCP Server

by jegriffi91

Take Screenshot

take_screenshot
Read-only

Capture a PNG screenshot of a mobile simulator or emulator screen. Returns the path to the saved image, with automatic retry on transient failures.

Instructions

Capture a PNG of the current simulator/emulator screen; returns an absolute path the agent can read back. Auto-retries on transient failures; returns passed:false on terminal failure instead of throwing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesTarget mobile platform
timeoutMsNoMax wait in ms for the capture to complete. Default: 30000.
deviceUdidYesUDID of the booted simulator or emulator (from list_devices)
outputPathNoAbsolute path where the PNG should be written. If omitted, a timestamped file is created under tmpdir/mobile-automator-screenshots/.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputYesTruncated stdout/stderr from the capture tool
passedYesWhether the screenshot was captured and saved
platformYes
imagePathYesAbsolute path of the written PNG
sizeBytesNoSize of the saved PNG in bytes
deviceUdidYes
durationMsYes
Behavior4/5

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

Beyond annotations (readOnlyHint, destructiveHint), the description discloses auto-retry behavior on transient failures and that terminal failures return passed:false instead of throwing. This adds actionable context for the agent.

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?

Two sentences, front-loaded with purpose. Every sentence provides critical information without redundancy.

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

Completeness5/5

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

Given the tool's simplicity and full annotation/schema coverage, the description covers purpose, output format, failure modes, and return value. No missing critical context.

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 coverage is 100%, so the schema fully documents each parameter. The description does not add parameter-specific meaning beyond the schema, matching the baseline expectation.

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?

Description clearly states the verb 'Capture' and resource 'current simulator/emulator screen', and specifies output format 'PNG' and return value 'absolute path'. It distinguishes from sibling tools like get_ui_hierarchy or verification tools.

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?

No explicit when-to-use or when-not-to-use guidance. The purpose is implied for visual capture, but no comparison to alternative tools like get_ui_hierarchy or verify_network_* is provided.

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