Skip to main content
Glama

screenshot

Capture a PNG image from an Android device and save it on the host running agentdev to inspect the current screen or document UI state.

Instructions

Capture a PNG screenshot and save it on the host running agentdev.

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
nameNoFile name (without .png)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description at least discloses the format (PNG) and the side effect of writing a file to the host, which is the key behavioral fact for a capture tool. It omits where on the host the file lands, whether a default name applies, and whether a path is returned, so an agent cannot predict the outcome fully.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no filler; the destination clause is the only addition beyond the name. Slightly denser wording or a second clause on the output location would have been worth the space.

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?

For a one-parameter tool with no output schema and no annotations, the definition is minimally viable but leaves the agent guessing about the saved path and return value. Those gaps are small yet material for a tool whose whole purpose is producing a file.

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 single parameter has 100% schema description coverage, so the schema already explains that name is a filename without the .png extension. The description's 'save it on the host' context adds marginal meaning about where that name applies but nothing on defaults or validation.

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?

States a specific verb (capture), artifact type (PNG screenshot), and destination (host running agentdev). This clearly separates it from siblings such as logcat_dump or file_pull, though it never names an alternative 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?

There is no when-to-use guidance at all: nothing says to call this before or instead of screen_state, device_info, or file operations, and no prerequisites (connected device, selected device) are mentioned. The intended use is only inferable from the name.

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