Skip to main content
Glama
android-adb-mcp

android-adb-mcp

by Bzcasper

adb_screenshot

Capture a screenshot from a connected Android device and return it as a base64-encoded PNG, enabling AI agents to inspect the current screen.

Instructions

Capture a screenshot from the Android device. Returns a base64-encoded PNG image.

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

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice serial (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the return format as a base64-encoded PNG, but says nothing about permissions, latency, device-lock state, or what happens when multiple devices are attached. This is meaningful but incomplete disclosure for an unannotated tool.

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?

Two short sentences, front-loaded with the action and immediately followed by the return format. Nothing is redundant or padded.

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

Completeness4/5

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

For a simple one-optional-param tool with no output schema, the description covers what the tool does and what it returns. The remaining gap is multi-device default behavior, which an agent would need before calling in a multi-device setup.

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 description coverage is 100%, with a single optional 'device' parameter already documented as 'Device serial (optional)'. The description adds no further semantics (e.g., default-device selection behavior), so the schema does the work and the baseline of 3 applies.

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 ('Capture a screenshot from the Android device') and names the return encoding (base64 PNG). It does not explicitly contrast itself with siblings such as adb_pull or adb_shell, but the purpose 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?

There is no explicit guidance on when to use this tool versus alternatives like adb_pull (retrieving files) or adb_shell (running screencap manually). Usage is only implied by the tool name and purpose; no prerequisites or exclusions are stated.

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