Skip to main content
Glama

browser_screenshot

Capture a PNG screenshot of a Chrome tab's visible area by tab ID to inspect or verify page state during automated browser interactions.

Instructions

PNG screenshot of a tab visible area.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tabId": "<tabId>"
    },
    "name": "browser_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.4

TDQS

C2.2/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 does disclose two useful traits — output format is PNG and capture is limited to the visible viewport rather than the full page — but says nothing about whether the tab must be activated first, how the image is returned (inline data vs. file), size/rate limits, or failure behavior for background tabs.

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

Conciseness3/5

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

A single short sentence with zero padding and the key facts front-loaded, which is good. However, the brevity crosses into under-specification for a tool whose result type and prerequisites are non-obvious.

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

Completeness2/5

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

The tool is simple (one integer parameter, no nested objects) but there is no output schema, so the description should explain what a caller receives — image bytes, a URL, or a file path — and it does not. Combined with the missing tabId semantics, an agent cannot reliably invoke or consume the result from this text alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and tabId is entirely undocumented: the description never says where to obtain a tab ID (presumably from browser_tabs) or what happens with an invalid/stale ID. With one required parameter and no schema description, the description should compensate and does not.

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

Purpose3/5

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

Names the concrete output (PNG screenshot) and scope (a tab's visible area), so the resource is identifiable. But it is a noun fragment with no verb, and it gives no signal to distinguish it from siblings such as browser_read or browser_outline, which could also capture page content.

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

Usage Guidelines1/5

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

There is no when-to-use guidance at all — no mention of when a screenshot is preferable to browser_read or browser_outline, and no prerequisite noted (e.g. whether the tab must be active/foreground). The 'visible area' phrase implicitly excludes full-page capture but that exclusion is never stated as guidance.

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