Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

list_devices

Lists all connected Android devices and iOS Simulators, with an optional platform filter, so you can identify available test targets before running automated tests or debugging.

Instructions

List all connected Android devices (ADB) and iOS Simulators (xcrun).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It states the underlying mechanisms (ADB and xcrun) and that it lists connected devices, but does not explain what is returned, how devices are identified, what happens when none are connected, or whether simulators must already be running.

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 a single front-loaded sentence with no filler. It is appropriately sized for a simple listing tool.

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

Completeness3/5

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

For a simple one-parameter listing tool with no output schema and no annotations, the description covers the core purpose but omits the platform filter and return-value details. It is minimally adequate, not fully complete.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not mention the optional platform parameter at all. The enum values in the schema are self-explanatory, but the description misses the chance to clarify filtering behavior, especially because it says 'all' devices while the parameter can restrict to Android or iOS only.

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

Purpose4/5

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

The description uses a specific verb and resource: list connected Android devices via ADB and iOS Simulators via xcrun. It clearly describes the operation, though it does not explicitly distinguish this discovery tool from the sibling get_device_info tool.

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

Usage Guidelines2/5

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

The description provides no when-to-use or when-not-to-use guidance. It implies this is a discovery step before other adb/ios commands, but does not state that or name alternatives such as get_device_info.

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