Skip to main content
Glama

screenshot

Read-only

Capture an unannotated image of the largest window of a permitted running app after safety preflight, with optional JPEG/PNG format, quality, and max width.

Instructions

Capture an unannotated screenshot of the largest window of a permitted running app after running safety preflight. Supports optional format='jpeg'|'png' (default 'jpeg'), quality (1..=100), and max_width (640..=2560).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>"
    },
    "name": "screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
formatNo
qualityNo
max_widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds real context beyond that: the capture is unannotated, targets the largest window specifically, and requires both a permitted app and a prior safety preflight — meaningful constraints an agent would otherwise miss. It does not say what the capture is returned as, which keeps it from a 5.

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?

Two dense sentences with the core action and its preconditions front-loaded, followed by the parameter constraints. No filler or repetition of the tool name; the parenthetical range list is information-bearing rather than decorative.

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 four-parameter tool with no output schema, the description covers preconditions and optional-parameter ranges well. It leaves unresolved what a successful capture yields (image bytes, file path, handle) and what 'permitted' or a failed preflight means operationally, which an agent needs to interpret results and errors.

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 description coverage is 0%, so the description carries the full burden, and it delivers for three of four parameters: format's enum values plus default 'jpeg', quality's 1..=100 range, and max_width's 640..=2560 range. Only the required 'app' parameter receives no extra meaning beyond its name, which is the main shortfall.

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?

Names a specific verb and resource (capture a screenshot) and narrows scope precisely: the largest window of a running app, unannotated. The 'unannotated' qualifier implicitly distinguishes it from annotated-inspection siblings like visual_inspect, but no sibling is named, so the differentiation is only suggestive.

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?

States a prerequisite sequence ('after running safety preflight') and a precondition ('permitted running app'), which is genuine usage context. However, it never says when to choose this over visual_inspect or inspect_app, nor when not to use it, so the routing decision is left to inference.

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