Skip to main content
Glama

Take Browser Screenshot

browser_screenshot
Read-only

Capture PNG screenshots of Chromium viewports, full pages, or specific elements to verify visual state and debug layout issues.

Instructions

Capture a PNG screenshot of the current Chromium viewport, full page, or a specific 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": "browser_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNoOptional task ID for execution tracking and cancellation
fullPageNoCapture full scrollable page instead of viewport only (default: false)
selectorNoOptional selector to screenshot a specific visible element
session_idNoOptional target browser session ID (defaults to active default session)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the output format (PNG), which the annotations and schema do not state, but says nothing about return delivery (image block vs. file path), whether it waits for page stability, or what happens when a selector matches nothing.

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 filler; the capture modes are ordered from default to most specific. Nothing could be removed without losing information.

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

Completeness3/5

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

For a simple read-only capture tool with full schema coverage and annotations, the essentials are present. However, with no output schema the description should say what a caller receives back (inline image, base64, or path), which is the one thing an agent most needs and is left unstated.

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 100%, so every parameter is already documented in the input schema, and the description's mention of viewport/full page/element merely restates fullPage and selector. No extra meaning is added for task_id or session_id, so the baseline of 3 applies.

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 gives a specific verb and resource ('Capture a PNG screenshot') plus the three capture scopes (viewport, full page, specific element), which maps cleanly onto the parameter set. It doesn't explicitly contrast itself with siblings like browser_observe or browser_extract, but the visual-capture 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 Guidelines3/5

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

Usage is only implied: needing visual evidence of the page is the obvious trigger, but the description never states when to prefer a screenshot over browser_observe or browser_read_page, nor any preconditions such as waiting for load. The enumerated capture modes hint at selection but no explicit routing guidance is given.

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