Skip to main content
Glama

List devices

list_devices
Read-onlyIdempotent

Lists connected Android devices and their ADB state so you can identify available targets before issuing commands.

Instructions

List connected adb devices and their state.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=true, so the safety and idempotency profile is fully covered. The description adds that only connected devices are returned and that a state value accompanies each one, which is modest but real context beyond the structured fields. It does not disclose the possible state values or error behaviour when no adb server is reachable.

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?

A single front-loaded sentence with zero filler, appropriate in size for a no-argument listing tool. Every word carries meaning: the transport ('adb'), the filter ('connected') and the return ('state').

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 zero-parameter lister with annotations covering the safety profile, the definition is nearly sufficient, but no output schema exists and the description never sketches the shape of the return, such as device identifiers and state values like device, offline or unauthorized. That leaves the agent guessing what it will receive.

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?

The tool takes no parameters, so the baseline is 4 and there is no parameter meaning the description could usefully add. The schema is empty and nothing in the description contradicts it.

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 states a specific verb ('List') and resource ('connected adb devices') plus the returned attribute ('their state'), so the agent knows exactly what the tool does. It does not distinguish itself from sibling tools such as device_info, which also exposes device-level information, but the resource itself is unambiguous.

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?

There is no guidance on when to use this tool rather than device_info or the other device-scoped siblings, and no statement of prerequisites such as whether an adb server must be reachable. Usage is only implied by the phrase 'connected adb devices'; the agent must infer the discavery-first workflow itself.

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