Skip to main content
Glama

list_devices

Read-only

Lists connected Android and iOS devices, emulators, and simulators so you can identify available targets before interacting with them; optionally filter by platform.

Instructions

List connected Android and/or iOS devices and emulators/simulators

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
platformNoPlatform to list devices for. Omit to list both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read operation, so the description only needs to add context beyond that. It adds that emulators/simulators are included alongside physical devices, which is useful behavioral information. However, it says nothing about return content (device IDs vs. names), latency, or whether the list is scoped to a connected local host, leaving reporting behavior undisclosed.

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

Conciseness4/5

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

One short sentence with no filler, front-loading the verb and the resource. It could be marginally sharper by stating that it returns the connected device set, but nothing is wasted.

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, read-only, single-optional-parameter tool this is close to adequate, and the annotations carry the safety profile. Because there is no output schema, the description should have said what a listed device looks like (identifier, platform, emulator flag) so the agent knows whether it can use the result to target other calls; that omission leaves a real gap.

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% and the single enum parameter already documents that omitting it lists both platforms. The 'and/or' wording in the description is consistent with that omission behavior but adds no new syntax or semantics beyond the schema.

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 gives a specific verb ('List') and resource ('connected Android and/or iOS devices and emulators/simulators'), and it broadens scope explicitly to cover both physical devices and emulators/simulators. It is clear enough to distinguish from siblings like get_screen_info or get_app_info, though it does not explicitly say what it is not.

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?

Usage is only implied — an agent can infer that this is a discovery step before targeting a device with other tools, but there is no explicit statement of when to call it, when not to (e.g. once a device is already known), or which sibling to use instead.

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