Skip to main content
Glama

browser_screenshot

Capture a PNG screenshot of the current page to inspect layout and visual bugs that accessibility snapshots cannot reveal.

Instructions

Take a screenshot of the current page as a PNG image. Use it to see layout, visual bugs and anything the snapshot cannot show.

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 observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden and does disclose the output format and that it captures 'the current page' (implying the live viewport, not an arbitrary URL). It does not state whether capture is viewport-only or full-page, whether it is non-destructive, or how the image is returned.

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 short sentences, front-loaded with the action and format, followed by the discriminating use case. No filler or redundant 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 zero-parameter, no-output-schema tool, the definition covers what it does, what it returns (PNG), and when to reach for it over the snapshot sibling. Minor gaps (viewport vs full page, returned image encoding) are small relative to the tool's simplicity.

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 the baseline applies; there is no argument semantics to explain. The description correctly implies no input is needed, since it operates on the current page state.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb plus resource ('take a screenshot of the current page') and an explicit output format (PNG). The clause 'anything the snapshot cannot show' distinguishes it from the browser_snapshot sibling without requiring the schema to be opened.

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 a clear use case: inspecting layout, visual bugs, and anything the text snapshot misses, which implicitly routes the agent to browser_snapshot for text/DOM inspection. It stops short of explicit exclusions such as when a DOM query would be preferable to a pixel image.

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