Skip to main content
Glama

android_screenshot

Capture Android screenshots as resized JPEG files on disk for quick UI inspection without base64 overhead. Set max width and quality to control image size.

Instructions

Capture a resized JPEG screenshot to disk (max width 720px, no base64).

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": "android_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
qualityNo
max_widthNo

Output Schema

NameRequiredDescriptionDefault
okYes
bytesNo
errorNo
widthNo
heightNo
file_pathNo
original_widthNo
original_heightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful traits: JPEG encoding, a 720px width cap, and a file written to disk rather than an inline base64 payload. It omits connection/prerequisite requirements, where the file lands or whether it overwrites, and any failure behavior, which are the gaps that matter for a capture 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?

One sentence, front-loaded with the action and output destination, with the format and sizing constraints in parentheses. No filler and nothing an agent must read past to get the core behavior.

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 two-optional-parameter capture tool with an output schema covering return values, the description supplies the essentials: format, destination, and size constraint. It falls short only on prerequisites (device must be connected) and on the unexplained quality parameter.

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 0%, so the description must compensate for both parameters. It partially does: 'resized' and 'max width 720px' explain max_width and its default, but the 'quality' parameter is never mentioned beyond the implied JPEG encoding, leaving one of two parameters undocumented anywhere.

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 ... screenshot') plus the output form ('to disk', 'JPEG'), which separates it from a UI-hierarchy style sibling. It never names an alternative tool, so the differentiation is implicit rather than explicit.

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?

Usage is only implied: the phrase 'no base64' hints this is the choice when you want a file on disk rather than an inline payload, but there is no when-to-use statement, no exclusion, and no mention of the closest visual alternative (android_snapshot).

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