Skip to main content
Glama
xlisp
by xlisp

adb_connect

Wirelessly connect ADB to an Android device using pairing code and connection port from Wireless Debugging settings.

Instructions

Connect ADB to this device wirelessly. Required on Android 12+.

Step 1: If pair_code and pair_port are given, pair first. Step 2: If connect_port is given (or after pairing), connect.

Find these in: Settings → Developer Options → Wireless Debugging

Args: pair_code: Pairing code from wireless debugging (for first-time pairing) pair_port: Pairing port from wireless debugging (e.g. '37123') connect_port: Connection port shown on wireless debugging main page (e.g. '5555' or '45678')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pair_codeNo
pair_portNo
connect_portNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It explains the pairing vs connecting logic and where to find credentials, but lacks details on prerequisites (e.g., developer options must be enabled) or side effects.

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?

Well-structured with numbered steps and clear parameter descriptions. Every sentence is informative; no unnecessary words.

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

Completeness5/5

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

Given the tool's complexity and the presence of an output schema, the description covers the complete workflow and parameter details. It is fully self-contained for an AI agent to use correctly.

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

Parameters5/5

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

With 0% schema coverage, the description fully explains each parameter: pair_code, pair_port, connect_port, with examples and sources (Settings → Developer Options). This adds essential meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool connects ADB wirelessly to the device, with clear steps for pairing and connecting. It distinguishes itself from sibling tools by focusing on wireless debugging setup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides step-by-step instructions on when to use pair_code/pair_port versus connect_port. Mentions it's required on Android 11+ but does not explicitly state when not to use it or alternative tools.

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/xlisp/termux-mcp-server'

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