Skip to main content
Glama

screenshot

Idempotent

Capture a web page as a PNG, either full-page or viewport-only, with optimized or full-resolution output for LLM processing and cinematic production.

Instructions

[Agent Browser] Take a screenshot (PNG).

Args: name: Optional filename (without extension). Defaults to "screenshot". full_page: If True, captures full scrollable page. If False, viewport only. quality: Screenshot quality mode: - "optimized" (default): Resizes large images (>2000px) for faster LLM processing - "full": Original resolution, no compression. Use for video/cinematic production.

Returns the file path in data.path. Screenshots are saved to ./screenshots/. Use quality="full" when screenshots will be used for Ken Burns videos or other cinematic production where image quality matters.

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
nameNo
qualityNooptimized
full_pageNo

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false with destructiveHint=false, and the description usefully explains the side effect (a file written to ./screenshots/ with the path returned in data.path), which justifies the non-read-only hint. It does not say what happens when the same 'name' is reused — whether files are overwritten — which is the main behavioral risk for a file-writing tool.

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 purpose followed by a compact Args block and a return-value line is easy to scan. The closing Ken Burns sentence largely restates the earlier 'full' bullet, which is the only notable redundancy.

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

Completeness5/5

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

For a three-parameter screenshot tool with an output schema, everything an agent needs — default filename, capture scope, quality tradeoff, output location and return path — is present in the description.

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 parameter burden, and it does so for all three: 'name' (optional filename without extension, default 'screenshot'), 'full_page' (full scrollable page vs viewport only), and 'quality' with two explained modes. The 'quality' enum values are not in the schema, so this is genuine added meaning; only minor detail on 'name' handling is missing.

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 first line gives a concrete verb and resource — 'Take a screenshot (PNG)' — so the operation and output format are unambiguous. It does not explicitly differentiate itself from siblings such as 'annotate' or 'viewport', but the core action is unmistakable.

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?

The description tells the agent when to pick quality='full' (cinematic or Ken Burns production), which is useful selection guidance at the parameter level. However, it offers no guidance on when to use this tool versus related siblings, and no exclusions or prerequisites are stated.

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