Skip to main content
Glama

Capture screenshot

screenshot
Read-only

Capture the viewport or full page as PNG or JPEG image content for visual verification and page inspection.

Instructions

Capture the viewport or full page and return it as MCP image content for visual verification.

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
formatNopng
page_idNoTarget page id from get_pages; omit to use the selected page
qualityNoJPEG quality; ignored for PNG
full_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds useful context by stating that it returns MCP image content and can capture viewport or full page, but it does not discuss output size concerns, format behavior, or other operational traits beyond what the schema and annotations cover.

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?

A single, front-loaded sentence with no redundant wording. Every clause contributes: action, scope, and return type.

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 simple read-only tool with no output schema and a mostly self-explanatory parameter set, the description is nearly complete. Minor gaps remain around format/quality behavior and the practical implications of full-page capture, but the schema covers the core parameter details.

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?

Schema description coverage is 50%, with page_id and quality documented in the schema. The description only reinforces the full_page distinction via "viewport or full page" and adds no meaning for format or page_id beyond the schema.

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 description states a specific verb and resource ("Capture the viewport or full page") and explains the return form as MCP image content. It is clearly distinct from siblings like evaluate or inspect_page, though it does not explicitly name alternatives.

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?

"For visual verification" implies the intended use case, giving an agent a reasonable cue. However, there is no explicit when-to-use versus when-not guidance, and no alternatives are named.

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