Skip to main content
Glama

Disconnect ADB WiFi

adb_wifi_disconnect
Idempotent

Disconnect a WiFi ADB connection by address, or drop all wireless ADB connections at once when no address is given. Use it to close debugging links without running manual adb commands.

Instructions

Disconnect a WiFi ADB connection

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

Input Schema

NameRequiredDescriptionDefault
addressNoAddress to disconnect (e.g. '192.168.1.5:5555'). If omitted, disconnects all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is supplied. The description adds nothing beyond them — it does not explain that omitting the address tears down every connection, nor what a failed disconnect looks like, which is the one behavior an agent would most want flagged.

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. It is efficient, though its brevity borders on under-specification rather than exemplary terseness.

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-optional-parameter tool with full schema coverage and annotations covering the safety profile, the essentials are available. Still, the agent gets no signal about what happens on success/failure or the blast radius of the disconnect-all default, leaving a meaningful gap for a mutating operation.

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 parameter description even includes a concrete example address plus the default all-connections behavior. The prose adds no meaning beyond that, 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?

The description states a specific verb and resource ('Disconnect a WiFi ADB connection'), which cleanly separates it from the sibling adb_wifi_connect. It does not explicitly name or contrast against that sibling, so it stops short of a 5.

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, what prerequisites exist (an active WiFi ADB session), or how it relates to adb_wifi_connect. The only contextual note — that omitting the address disconnects all — lives in the schema, not the description.

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