Skip to main content
Glama

adb_screenshot_compressed

Capture an Android device screenshot and return metadata for compressing to a JPEG with ImageMagick, including file path, dimensions, and compression command.

Instructions

Take a screenshot and pull the full-resolution PNG, plus metadata for client-side compression. Returns local file path, dimensions, file size, and a ready-to-run imagemagick command for converting to a smaller JPEG. (Android doesn't ship imagemagick, so the actual compression is post-processing — this tool sets up everything you need.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qualityNoJPEG quality (10-100, default 50). Lower = smaller file, more artifacts
scaleNoScale factor (0.1-1.0, default 0.5). 0.5 = half resolution
filenameNoOutput filename (default: screenshot_compressed_<timestamp>.jpg)
deviceNoDevice serial
Behavior4/5

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

Without annotations, the description explains key behaviors: returns local file path, dimensions, file size, imagemagick command, and explicitly states that compression is not done on device. However, it omits error conditions or file location details.

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?

Extremely concise: two sentences plus a clarifying parenthetical. Every sentence adds value, no wasted 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 no output schema, the description fully explains what the tool returns and the important post-processing requirement, making it complete for usage.

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?

The schema has 100% parameter description coverage, so the baseline is 3. The description adds no additional parameter information 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 clearly states the tool takes a screenshot and pulls the full-resolution PNG with metadata for compression, distinguishing it from other screenshot tools like adb_screencap by focusing on compressed output and client-side processing.

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?

The description implies use for compressed screenshots but does not explicitly provide when-to-use or when-not-to-use guidance, nor does it compare with siblings like adb_screencap or adb_screenshot_baseline.

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