Skip to main content
Glama

browser_screenshot

Capture a PNG or JPEG screenshot of the focused browser tab, or target a specific tab, with full-page and save-to-path options.

Instructions

Capture a visual PNG screenshot of a browser tab (the focused one unless tabId is given).

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

Input Schema

NameRequiredDescriptionDefault
refNoElement reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container.
tabIdNoOptional browser tab id to act on instead of the focused tab.
formatNo
saveToNoAbsolute local output path. Existing files are not overwritten.
qualityNo
fullPageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but discloses only the default tab target and that the output is a visual PNG. It does not explain whether the image is returned inline, as a path, or otherwise, nor does it mention saveTo side effects, overwrite behavior, or any permissions/rate constraints.

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?

The definition is a single front-loaded sentence with no filler. The default-tab clarification is placed immediately, making it easy to scan and act on.

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 six-parameter tool with no annotations and no output schema, the description is too thin. It should at minimum explain how the screenshot is returned, what saveTo changes, and what fullPage and quality control.

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

Parameters2/5

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

Schema description coverage is 50%, and the description only restates the tabId default already documented in the schema. It adds no meaning for ref, quality, or fullPage, and does not reconcile the stated 'PNG' output with the format enum that also permits jpeg.

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 a specific verb (Capture), resource (screenshot of a browser tab), and default scope (the focused tab unless tabId is given). It distinguishes itself implicitly from DOM-oriented siblings such as browser_snapshot or browser_extract by calling out a visual PNG screenshot, though it does not explicitly name an alternative.

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?

Usage is only implied by the nature of the operation; there is no explicit statement of when to prefer this over browser_snapshot, browser_image, or browser_extract. It does clarify the default tab target, but offers no when-not guidance or exclusions.

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