Skip to main content
Glama
1999AZZAR

scrcpy-mcp

by 1999AZZAR

disconnect_wifi

Idempotent

Disconnect an Android device from wireless ADB by providing its device address (e.g., 192.168.1.100:5555). Terminate the wireless debugging session to free the connection.

Instructions

Disconnect from a wireless ADB device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesDevice address (e.g., 192.168.1.100:5555)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesHuman-readable description of the result
successYesWhether the action succeeded
Behavior3/5

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

Annotations include idempotentHint=true, which is the opposite of what one might expect for a disconnect (it implies repeated calls are benign). The description doesn't clarify whether disconnecting an already-disconnected device is harmless or errors. With annotations covering idempotency, a partial credit is reasonable, but the description adds nothing beyond the annotation layer.

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?

The description is appropriately concise — a single clear sentence that states the purpose without waste. It's front-loaded and efficient, though it could have used the space to add a usage note.

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?

With one simple parameter (100% schema coverage) and annotations covering idempotency and non-destructiveness, the description is mostly adequate. However, it lacks behavioral details like whether the connection is confirmed, error handling behavior, and whether it's tied to session state. For a simple disconnection tool, this is minimal viable but not rich.

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 description coverage is 100% — the address parameter is fully documented in the schema with an example format (e.g., 192.168.1.100:5555). The description adds nothing beyond what the schema provides. Baseline 3 is appropriate since the schema does the heavy lifting.

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 clearly states the verb+resource: 'Disconnect from a wireless ADB device'. It's specific and unambiguous about what the tool does. However, it doesn't explicitly differentiate from siblings like connect_wifi, though the pairing is fairly self-evident given the names.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't explain that this pairs with connect_wifi, doesn't mention whether this is needed before ending a session, and gives no context about prerequisites (e.g., must be connected first) or error states.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1999AZZAR/scrcpy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server