Skip to main content
Glama

browser_screenshot

Captures a PNG screenshot of the attached tab as the user sees it while masking credential fields. Use it to verify layout, confirm visual effects, or debug rendering.

Instructions

Capture a PNG screenshot of the attached tab exactly as the user would see it — including the redhand visibility overlay (operating banner + agent cursor). Credential-field values are masked with opaque covers before capture, so passwords and API keys never enter your context as pixels. Use to visually verify layout, confirm an action's visual effect, or debug rendering.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the output format (PNG), that the redhand overlay (banner + agent cursor) is baked into the capture, and that credential fields are masked with opaque covers before capture. It stops short of stating viewport scope, image size/pagination, or what happens when no tab is attached.

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?

Two dense sentences, front-loaded with the output format and subject, then the privacy guarantee, then use cases. No filler and no restatement of the title.

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 0-param, no-output-schema tool the description covers format, content composition, and the credential-masking safety property — all the decisions an agent needs. Minor gaps remain around capture scope (viewport vs full page) and how the image is returned.

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?

The tool takes zero parameters, so there is no parameter meaning to add; the baseline for a 0-param tool applies. Nothing in the description misrepresents or adds ambiguity about inputs.

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?

States a specific verb and resource — 'Capture a PNG screenshot of the attached tab' — plus the exact fidelity mode ('as the user would see it'). It implicitly separates itself from browser_snapshot by making clear the output is pixels rather than structure, but it never names or explicitly contrasts that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives three concrete when-to-use scenarios: visually verifying layout, confirming an action's visual effect, and debugging rendering. It offers no exclusions or conditions under which a cheaper alternative (e.g. browser_snapshot) should be preferred instead.

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