Skip to main content
Glama

adb_disconnect

Disconnect a specific TCP/IP ADB device by providing its address, or disconnect all TCP/IP ADB devices by omitting the address.

Instructions

Disconnect a TCP/IP device, or all TCP/IP devices if address is omitted.

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_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish that this is not read-only, is open-world, and is not destructive. The description adds the key behavioral detail that omitting address affects all TCP/IP devices, but it does not describe error behavior, what happens to active sessions, or how disconnection is confirmed.

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?

The description is a single, front-loaded sentence with no redundant wording. The scope rule is attached directly to the verb and resource, making it easy to parse.

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?

For a simple one-parameter disconnect tool with annotations and an output schema, the description covers the essential scope behavior. It is nearly complete, with only minor gaps around address format and failure behavior.

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 0%, so the description must carry parameter meaning. It does explain the critical omission semantics for address, which is more than the schema's bare default-null definition provides. However, it does not specify the expected address format, such as host:port, leaving part of the parameter semantics ambiguous.

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 and resource: disconnect a TCP/IP device. It also clarifies the omit-address scope, which distinguishes it from adb_connect by implication. It does not explicitly name a sibling alternative, so it falls short of full sibling differentiation.

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 description gives a clear usage rule for the omitted-address case: all TCP/IP devices are disconnected. It does not explain when to use this versus adb_connect, ssh_disconnect, or when an explicit address is required, leaving alternatives and preconditions implied rather than stated.

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