Skip to main content
Glama

List devices

list_devices
Read-only

Lists connected phones, simulators, and emulators with serial, state, model, drivability, holder, blockers, and fixes; selected mode shows the active device’s OS, screen, agent version, and front app.

Instructions

List connected phones, simulators and emulators. Returns each one's serial, state, model, whether this server may drive it, who holds it, what blocks it and the fix. selected: only the device in use, with OS, screen, agent version and the app in front. One not running: manage_simulator.

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
selectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.4
    • addedInput schema / properties / selected
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine context beyond that — per-device drive permission, current holder, blockers and the fix — which signals multi-agent contention, though it says nothing about pagination, cost, or whether the list is cached.

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?

Front-loaded and dense, with no filler; the returned-field enumeration is the right level of detail. The closing fragment "One not running: manage_simulator." is telegraphic enough to briefly read as a status rather than a routing instruction.

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?

No output schema exists, so the description appropriately describes return contents, and for a read-only single-parameter tool that is close to sufficient. The odd singleton syntax of `selected` aside, an agent could call this correctly, though ambiguity about whether `selected` filters or enriches is only partly resolved.

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

Parameters4/5

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

Schema coverage is 0% and there is one boolean unchanged by any schema description, so the description must carry it — and it does, defining `selected` as narrowing to the single in-use device and additionally enriching the payload with OS, screen, agent version and foreground app.

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?

States a specific verb and resource ("List connected phones, simulators and emulators") and immediately enumerates what each entry carries, so an agent knows exactly what it gets back. It also distinguishes itself from a sibling by routing non-running devices to manage_simulator.

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

Usage Guidelines4/5

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

Gives a clear condition for the alternative path ("One not running: manage_simulator") and explains the meaning of the `selected` flag. It stops short of stating when to prefer this list over set_device or use_device, so routing among the remaining siblings is left implicit.

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