Skip to main content
Glama

browser_take_screenshot

Captures a web page or specific element as a base64-encoded PNG so you can inspect layouts or document UI states.

Instructions

Take a screenshot of the page or a specific element.

Returns a base64-encoded PNG 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_take_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
full_pageNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 burden. It only reports the return encoding (base64 PNG), which duplicates the existing output schema, and says nothing about capture scope, viewport-only behavior, or side effects on page state.

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 sentences, front-loaded with the action before the return detail. No padding, though the second sentence is largely redundant against the output schema.

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 and has an output schema, so return format needn't be explained, yet both parameters are undocumented and there are no annotations. An agent cannot infer from the definition how to specify an element or when to enable full-page capture.

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 0%, and the description only obliquely implies the 'ref' parameter via 'a specific element'. The 'full_page' parameter is never mentioned, so an agent gets no hint that a full-page capture mode exists or what it defaults to.

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 ('Take a screenshot of the page or a specific element'), and distinguishes the two capture modes. It stops short of differentiating itself from the closest sibling, browser_snapshot, which an agent could easily confuse with a screenshot.

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?

No when-to-use guidance and no named alternatives. The description never says to reach for this instead of browser_snapshot or browser_get_html, nor does it mention prerequisites such as obtaining an element ref first.

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