Skip to main content
Glama

browser_screenshot

Idempotent

Capture a browser tab as PNG, JPEG, or WebP to a temp/cwd path or base64 inline, with full-page, scale, quality, annotation, and width options.

Instructions

Capture screenshot to temp/cwd path (PNG/JPEG/WebP). Set include_image=true to return base64 inline.

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
tabNoTab index string (e.g. '0'), targetId, or URL/title substring.
fullNoFull scrollable page.
pathNoOutput path inside cwd or temp dir (optional).
scaleNoDevice scale factor (<= 3).
qualityNoJPEG quality 1-100.
annotateNoOverlay @eN snapshot labels.
max_widthNoMax width in pixels.
include_imageNoEmbed inline image in response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the agent knows this writes a file. The description adds useful context about destination (temp/cwd) and format, but does not say whether an existing file at the given path is overwritten, what the default path is when 'path' is omitted, or what the response contains when include_image is false.

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

Conciseness4/5

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

Two short, front-loaded sentences with zero filler — the core action and destination come first, followed by the one behavioral toggle worth knowing. Slightly terse for an eight-parameter tool, but nothing is wasted.

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 tool with eight optional parameters, no output schema, and mutate-a-file behavior, the description covers format and inline-return but leaves the default-path behavior and the shape of the response unaddressed. It is adequate to call the tool, but not complete enough to predict its side effects or return value.

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 all eight parameters are already documented. The description restates 'path' scope and adds the base64 detail for include_image, which is a small clarification over the schema's 'Embed inline image in response,' but it adds nothing for full, scale, quality, annotate, or max_width.

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 screenshot') plus the supported output formats (PNG/JPEG/WebP) and the destination convention (temp/cwd). That distinguishes it reasonably well from browser_pdf and browser_snapshot, though it never names an alternative explicitly.

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?

The only usage steering is the conditional 'Set include_image=true to return base64 inline,' which is parameter guidance rather than when-to-use guidance. There is no statement of when to prefer this over browser_pdf or browser_snapshot, or when a temp path versus an inline image is appropriate.

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