Skip to main content
Glama

device_select

Target a single Android device by serial when multiple devices are connected via ADB, so commands, screenshots, and automation run on the intended device.

Instructions

Target one device by serial when several are connected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "serial": "<serial>"
    },
    "name": "device_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialYesDevice serial, e.g. R58M123ABC or 192.168.1.5:5555

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does not meet it. The critical behavior for a selection tool — whether it mutates shared/session state so subsequent calls route to that device, and what happens on an unknown serial — is unstated. Only the connective 'when several are connected' hints at context-sensitivity.

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 short sentence with the condition front-loaded and no filler. It is efficient, though its brevity edges into under-specification rather than tight precision.

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 one-parameter tool with a fully documented schema, the description covers what the tool takes and roughly when to use it. It falls short on the stateful consequence of the selection and error handling, which matter for a tool named 'select' in an adb-style workflow.

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 'serial' parameter already documents format with two concrete examples (hardware serial and ip:port). The description adds no format, validation, or disambiguation detail beyond the schema, so the baseline of 3 applies.

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?

States a specific action and resource: target a single device identified by serial, with the qualifying condition 'when several are connected.' It is distinguishable from device_list and device_info by virtue of being a selection step rather than an enumeration. The only blur is whether 'target' sets a session-wide default or returns a handle, which the sentence does not resolve.

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?

The clause 'when several are connected' implies the selection is needed only in multi-device situations, which is real usage guidance. However, it names no alternative (e.g., device_list for discovering serials, or whether this step is required before other device_* calls), so the agent must infer the workflow.

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