Skip to main content
Glama

screenshot

Capture the current Android screen as a downscaled PNG to inspect UI state or debug app behavior; set maxSide to cap the longest image edge.

Instructions

Capture the current Android screen as a downscaled 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": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxSideNoMaximum pixel length of the longest side (default 1024).

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 and no output schema, the description carries the full disclosure burden. It usefully states the result is a downscaled PNG, but says nothing about how the image is returned (image content block vs. path/URL), whether permissions or adb setup are required, or what happens on a failed capture. Moderate value added, clear gaps remain.

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 short sentence, front-loaded with the verb and resource, with the output format at the end. 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 zero-required-parameter capture tool this is nearly sufficient: purpose and output type are stated. The only real shortfall is that, absent an output schema, it doesn't say how the PNG is delivered back to the agent or how errors surface.

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% and the single maxSide parameter is fully documented with its default and meaning. The word 'downscaled' in the description loosely ties the output to that parameter but adds no syntax or constraint detail beyond the schema, so baseline 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 pairs a specific verb ('Capture') with a specific resource ('the current Android screen') and names the output format ('downscaled PNG image'). It is immediately distinguishable from data-oriented siblings like ui_tree or current_app, though it never explicitly contrasts itself with them.

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: an agent can infer this is the visual-inspection tool, but the description never states when to choose it over ui_tree (structured hierarchy) or current_app (foreground app metadata). No exclusions or preconditions are given.

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