Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

adb_network_status

Check whether an Android device has internet connectivity by pinging Google DNS, confirming network access before automated tests, bug reproduction, or debugging.

Instructions

Check if the device has internet connectivity (pings Google DNS).

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

Input Schema

NameRequiredDescriptionDefault
deviceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the mechanism (pings Google DNS), which usefully warns that results depend on Google DNS reachability and can be false negatives on restricted networks, but it says nothing about timeouts, error conditions, or what the response looks like.

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?

One short sentence with the action front-loaded and the implementation detail parenthetically attached. Nothing is wasted and nothing important is buried.

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 connectivity probe the description covers the essential purpose, but with no annotations, no output schema, and an undocumented optional deviceId, an agent still cannot predict the return shape or the default device behavior.

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 0% and the single 'deviceId' parameter is undocumented in both schema and description. The description never explains whether deviceId must be supplied or what happens when it is omitted (e.g., defaulting to the sole connected device), leaving a real ambiguity for a 0-required-param tool.

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 gives a specific verb and resource: check internet connectivity on the device. That is distinguishable from siblings such as adb_wifi (likely radio control) or adb_shell, though it does not name a sibling to contrast with.

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?

Usage is only implied by the purpose — an agent can infer you call this when you need to know whether the device is online. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives like adb_wifi or adb_shell for deeper diagnostics.

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