Skip to main content
Glama

Screenshot

take_screenshot

Captures an app screen image for visual inspection, with options to resize, save to file, hide inline output, capture timed strips, or monitor motion without an image.

Instructions

An image of the screen, for a visual judgement only: read_screen is cheaper and gives refs. Returns it (at most 800 px unless width) with its scale to tap units; points: 1 pixel is 1 unit. watchMs: no image, what moved (way, speed, jumps); strip: 8 timed frames. file: full size to a .png, .jpg or folder; inline: false hides it; overwrite. An unchanged screen gets no second image. Visual diffs: check_screen; video: record_session.

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

Input Schema

NameRequiredDescriptionDefault
fileNo
stripNo
widthNo
inlineNo
pointsNo
watchMsNo
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.4

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description carries most of the load, and it does: 800px cap unless width is set, returned scale for converting to tap units, watchMs returning motion data instead of an image, strip returning 8 timed frames, file writing full size, inline:false suppressing the image, and de-duplication of unchanged screens. The one deduction is that the phrasing is so compressed that some behavior ("with its scale to tap units", the bare "overwrite.") is harder to extract than it should be.

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?

Front-loaded with purpose and the primary alternative, and every clause adds a distinct fact rather than restating the name or schema. The semicolon-fragment style is efficient in size but costs readability, with clauses like "with its scale to tap units" and the standalone "overwrite." requiring re-parsing.

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 7-parameter tool with four distinct output modes, no output schema, and near-empty annotations, the description covers the modes, the size cap, the coordinate mapping, and de-duplication behavior. What is thin is the exact return shape (image plus scale object) and whether watchMs blocks for the duration, but no critical calling decision is left unanswered.

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

Parameters4/5

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

Schema coverage is 0% across 7 parameters, so the description must compensate and largely does: width, points, watchMs, strip, file, and inline each get a distinct meaning that the bare schema cannot convey (notably that watchMs yields no image and strip yields 8 frames). The gaps are overwrite, which is stated as a single word with no explanation of what is overwritten, and width, which is only referenced in passing without units or a default.

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?

Opens with "An image of the screen, for a visual judgement only," which names the resource and its scope, then immediately contrasts with read_screen, check_screen, and record_session. The verb is implicit (the noun phrase plus the tool name carry it), so it is not quite a clean verb+resource statement, but an agent can distinguish this from every named sibling without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ("for a visual judgement only"), explicit when-not with the reason ("read_screen is cheaper and gives refs"), and explicit routing for two adjacent needs ("Visual diffs: check_screen; video: record_session"). All three alternatives are named with the condition that selects them, leaving nothing to inference.

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