Skip to main content
Glama

browser_screenshot

Capture the current browser viewport, a clipped region, or a full page and return it as a PNG or JPEG image for visual inspection and debugging.

Instructions

Capture a screenshot of the current browser viewport (or clipped region) and return it as an image.

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
clipNoOptional clip region in CSS pixels.
formatNoImage format (default: png).
tab_idNoTarget tab id.
full_pageNoCapture beyond viewport.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the result is an image, but says nothing about whether the capture is non-destructive, how the page-load state affects it, what happens with the tab_id target, or any size/rate constraints. For a tool with zero annotation coverage, that is a substantial gap.

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?

One sentence with the action and result front-loaded and no filler. Every clause earns its place by naming the capture scope and the output form.

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?

The description covers the core action and the return type, which matters given there is no output schema. However, with four optional parameters, a nested clip object, and no annotations, it leaves the agent uninformed about full-page capture, tab targeting behavior, and when this tool is the right choice over its many siblings.

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 100%, so all four parameters (clip, format, tab_id, full_page) and the nested clip fields are already documented in the schema. The description's only added nuance is the parenthetical 'or clipped region', and it does not mention full_page capture, so baseline 3 is appropriate.

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 ('capture a screenshot') and resource ('current browser viewport or clipped region') plus the return type (image). An agent can distinguish this from browser_snapshot or browser_extract_text by the fact that it produces pixels, though the description never names those siblings explicitly.

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 when-to-use, when-not-to-use, or alternative guidance. Nothing says to prefer this over browser_snapshot for visual checks or over browser_extract_text for readable content, and no preconditions (page loaded, tab selected) are stated. Usage is only implied by the phrase 'current browser viewport'.

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