Skip to main content
Glama

adb_mirror_start

Start live screen mirroring of an Android device via scrcpy. Supports windowed or headless modes, with options for recording, frame rate, bitrate, and screen control.

Instructions

Start live screen mirroring for a device using scrcpy. Requires scrcpy installed and on PATH. Supports windowed (visual) and headless (no display) modes. One session per device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoDevice serial
headlessNoNo-display mode — useful with recording. Omits the scrcpy window.
maxFpsNoMaximum frame rate (1-120, default 30)
bitrateNoVideo bitrate (e.g., '4M', '8M', '2M')4M
maxSizeNoMax dimension in pixels (0 = no limit, max 4096)
recordNoRecord to a local file path (e.g., 'mirror.mp4')
stayAwakeNoKeep device awake while mirroring
turnScreenOffNoTurn device screen off during mirroring (saves battery)
Behavior3/5

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

With no annotations, the description bears full burden. It discloses mode support and session limit but omits behavioral details such as whether it blocks, how to stop, error handling, or impacts on device state (e.g., USB debugging requirement).

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?

Three concise sentences deliver core purpose, prerequisites, and modes. No superfluous information; front-loaded with action.

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?

For a tool with 8 parameters and no output schema, the description is too sparse. It fails to explain return behavior, how to end the session (sibling adb_mirror_stop), or error conditions, leaving significant gaps for the agent.

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 coverage is 100% with clear parameter descriptions. The description adds value by mentioning the headless mode but otherwise does not elaborate beyond what the schema already provides. Baseline 3 is appropriate.

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 clearly states the tool starts live screen mirroring using scrcpy, specifying supported modes (windowed and headless). This distinguishes it from siblings like adb_mirror_stop, adb_mirror_status, and adb_screenrecord_start.

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?

The description mentions prerequisites (scrcpy installed on PATH) and notes 'One session per device' to manage concurrency. However, it does not explicitly guide when to use this tool versus alternatives like adb_screenrecord_start or how to handle multiple devices.

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/fullread/DeepADB'

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