Skip to main content
Glama

adb_devices

Read-only

Lists USB and network devices attached to the local ADB server plus config-named devices, helping identify available Android targets for control.

Instructions

List devices attached to the local adb server (USB and network) and devices named in the config.

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": "adb_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint and openWorldHint, so the description's job is lighter. It still adds meaningful context beyond them by disclosing that results come from three sources (local adb server, USB/network, and the config file), which tells the agent that configured-but-unattached entries may appear.

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?

A single front-loaded sentence with no filler. The trailing 'and devices named in the config' is a slightly awkward phrase but carries real information, so it earns its place.

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

Completeness4/5

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

The tool is zero-parameter, read-only, and has an output schema, so return format needs no explanation. The description covers what is enumerated and from where; only error behavior when the adb server is unreachable is unstated, a minor gap.

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 schema has zero parameters, which is the baseline-4 case. Nothing in the description misrepresents this; the tool takes no arguments and the description implies no filtering options.

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?

Uses a specific verb+resource ('List devices') and scopes it to sources: USB, network, and config-named devices. It clearly reads as a discovery/list tool, though it never names the sibling it differs from (e.g. adb_device_info for per-device detail).

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 implied by the word 'List' and by the multi-source scope, but there is no explicit when-to-use statement and no pointer to adb_device_info for details or adb_connect for attaching new devices.

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