Skip to main content
Glama

android_connect

Connects to an Android device over Tailscale ADB Wireless Debugging to enable safe UI automation and diagnostics without root or Appium.

Instructions

Connect to the Android device over Tailscale ADB Wireless Debugging.

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": {
      "port": "<port>"
    },
    "name": "android_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNo
portYes

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
serialNo
connectedNo
android_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 behavioral burden, yet it discloses only the transport. It doesn't state that it establishes a persistent/stateful session, whether reconnecting is idempotent, what prerequisites (Tailscale up, ADB pairing/tcpip mode) are needed, what happens on failure, or whether prior connections must be dropped.

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?

A single front-loaded sentence with no filler; the essential action and transport are stated immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although an output schema exists to cover return values, a connection-lifecycle tool with two fully undocumented parameters and no annotations needs more: prerequisites, session persistence, and how the host/port resolve. As written an agent must guess both the invocation details and the operational context.

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 description coverage is 0%, with two parameters (host, port) that the description does not explain. It hints that 'port' relates to ADB wireless debugging, but never states which port, that it is required, or what host=null (default) resolves to.

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?

States a specific verb (Connect) and resource (the Android device) plus the transport (Tailscale ADB Wireless Debugging), which clearly separates it from sibling tools like android_disconnect or android_act. It doesn't explicitly contrast with those siblings, but the action is unambiguous.

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?

No when-to-use guidance is given at all: it doesn't say this is a prerequisite for the other android_* tools, that it must precede android_act/android_screenshot, or that android_disconnect should be used to tear down. The usage context is only inferable from the tool name and sibling names.

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