Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

adb_wifi

Enable or disable WiFi on a connected Android device to test connectivity-dependent app behavior and network scenarios.

Instructions

Enable or disable WiFi on the device.

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": {
      "enabled": "<enabled>"
    },
    "name": "adb_wifi"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue to enable, false to disable
deviceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden for a mutation tool, but it discloses nothing beyond the basic action: no permission requirements, no effect on existing connections, no indication of what happens if the device is absent or the state change fails. An agent cannot predict side effects or failure modes from this text.

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 action front-loaded and no filler. It is efficiently sized, though its brevity is partly under-specification rather than pure concision.

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 simple two-parameter toggle with no output schema, the definition is minimally adequate to call the tool. It remains incomplete on the optional deviceId target and on any device-connection or permission preconditions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: the 'enabled' flag is described in the schema itself, but 'deviceId' has no description anywhere, and the definition says nothing about how to target a specific device when multiple are attached. The description adds no meaning beyond what the schema already provides.

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 pair (enable/disable) and the exact resource (WiFi) plus scope ('on the device'), so it is unambiguous what the tool does. It does not explicitly differentiate itself from nearby siblings such as adb_network_status, which reads status rather than toggling it, so it stops short of 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 versus adb_network_status or adb_shell, and no prerequisites are given (e.g., whether the device must be connected or have root/permissions). The intended usage is only inferable from the name and the word 'WiFi'.

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