Skip to main content
Glama

screenshot

Read-only

Capture a JPEG image of the browser viewport, full page, or a specific element to visually verify web content and share results.

Instructions

JPEG of the viewport (pixels / scale = act x,y), the full page, or one element.

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
idNo
fullNo
browser_idNoDefault: the last browser used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.3

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely useful context beyond them: the output is a JPEG image and its pixel coordinates map onto the act tool's x,y coordinate space, which matters for follow-up clicks. It does not disclose output size, encoding, or latency for full-page captures.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, which is efficient. However, the compression crosses into obscurity: 'pixels / scale = act x,y' and the bare list of scopes require the reader to reverse-engineer meaning, so brevity costs clarity here.

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

Completeness2/5

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

For a tool with three parameters, no output schema, and a fragmentary sentence, the definition leaves significant gaps: how to obtain a valid id, whether viewport is the default, and what the returned JPEG payload looks like. The coordinate-mapping hint is valuable but not enough for an agent to call this confidently in all three modes.

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 coverage is only 33% — only browser_id is documented (default: last browser used). The description partially compensates by mapping 'the full page' and 'one element' onto the full and id parameters, and by explaining that pixel coordinates relate to act x,y. It still leaves id's expected value semantics (likely an element handle from observe) and full's default unstated.

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 names the resource (a JPEG screenshot) and enumerates the three capture scopes — viewport, full page, or a single element — so an agent can tell it captures images rather than acting or reading page content. It is fragmentary ('JPEG of the viewport...') and the parenthetical 'pixels / scale = act x,y' is cryptic, but the core purpose is unambiguous.

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 explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative despite close neighbors like observe, read, and act. The only implicit routing signal is the choice between viewport, full page, and element, which the agent must infer from terse phrasing.

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

Deploy Server

Other Tools