Skip to main content
Glama

screenshot

Capture the current Android device screen as PNG, optionally saving to disk or returning Base64 data for inspection, sharing, or UI debugging.

Instructions

Capture the current screen as PNG. Optionally save to disk and/or return 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": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNo
save_pathNo
include_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 does disclose the two result modes (write to disk and/or return base64), but says nothing about prerequisites (an active device connection), permissions, failure behavior for an invalid save_path, or the cost of large base64 payloads. It adds real behavioral detail without covering the risky edges of a write-then-return operation.

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 core action and followed by the optional outcomes. No filler or redundancy.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, but for a device-scoped tool in a catalog full of multi-device operations the missing serial semantics and connection prerequisites leave meaningful gaps. Adequate as a minimum, not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and only partially does: "save to disk" maps to save_path and "return base64" maps to include_base64. The most consequential parameter, serial, is never mentioned, leaving an agent unable to tell that the capture targets a specific connected device.

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?

"Capture the current screen as PNG" states a specific verb and resource, and the output-mode clause clarifies what happens with the result. It is clearly distinguishable from siblings like screen_metrics or device_info, though it never names a sibling or states scope (e.g. which device) explicitly.

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?

The description describes output options but gives no when-to-use guidance: nothing says to pick this over screen_metrics for display information, nor when to set save_path versus include_base64. Usage must be inferred entirely from the parameter names.

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