Skip to main content
Glama

adb_screenshot_compressed

Captures a screenshot from an Android device, then compresses it by adjusting JPEG quality and scale to reduce file size and token usage for LLM processing. Returns the local file path.

Instructions

Take a screenshot and compress it for reduced file size and LLM token usage. Captures at full resolution then uses device-side conversion to produce a smaller JPEG. Returns the local file path. Ideal for iterative UI testing where token cost matters.

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?

With no annotations, the description carries the full burden. It accurately describes the process (full resolution capture, device-side conversion to JPEG, returns local file path). It lacks details on permissions, overwrite behavior, or potential failures, but covers the core behavior.

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 sentences, front-loaded with the main purpose. Each sentence adds value: purpose, method, and use case. No redundant words.

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 4-parameter tool with no output schema and no annotations, the description covers the purpose, process, and return. It could mention filename defaults and device requirements, but it is sufficiently complete for typical use.

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%, so baseline is 3. The description adds process context but does not deepen meaning for individual parameters beyond what the schema already provides (min/max/default). The compression goal is mentioned, but parameter tuning guidance is missing.

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 it takes a screenshot and compresses it for reduced file size and LLM token usage. It distinguishes from siblings like adb_screencap (likely uncompressed) and adb_screenshot_baseline (comparison), with specific verb and resource.

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 says 'Ideal for iterative UI testing where token cost matters,' providing a clear when-to-use context. However, it does not explicitly mention alternatives or when not to use, like when full quality is needed.

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