Skip to main content
Glama
smankoo

open-browser-control

by smankoo

browser_screenshot

Capture a screenshot of the current browser page as a PNG image. Supports full-page, element-specific, or region-based shots for visual debugging and layout verification.

Instructions

Take a screenshot of the current browser page. Returns the file path to a saved PNG image. Screenshots are slow and heavy — prefer browser_get_dom and browser_get_page_info to understand page content and structure. Use screenshots only when you need to verify visual layout, debug rendering issues, or when DOM inspection is insufficient (e.g. canvas, images, charts). The response includes a pageRect describing which page-coordinate region the image depicts. To zoom into fine detail (especially after a full-page shot), call again with rect:{x,y,width,height} narrowed to a sub-region of that pageRect — coordinates are page CSS pixels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rectNoPage-coordinate rectangle to capture at full CSS resolution. Use this to zoom into a region returned in a prior screenshot's pageRect.
fullPageNoCapture full scrollable page instead of just viewport
selectorNoCSS selector to screenshot a specific element
Behavior4/5

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

With no annotations, the description bears full burden. It discloses that screenshots are slow and heavy, and explains the rect zooming mechanism. However, it does not explicitly state the default capture area (viewport vs full page), though the fullPage parameter in schema partially addresses this.

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?

Four sentences, front-loaded with purpose and usage, then details. Every sentence adds value with no redundancy or fluff.

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?

Given 3 parameters, nested objects, and no output schema, the description is fairly complete. It explains the output (file path, pageRect) and zooming workflow. The missing output schema is partially compensated by the description stating the return format. Could briefly mention default viewport capture.

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?

Schema coverage is 100%, so the schema already documents all parameters. The description adds value by explaining how rect relates to pageRect from previous screenshots, providing usage context beyond the schema. However, it does not elaborate on selector or fullPage beyond their schema descriptions.

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?

The description uses specific verbs and resources: 'Take a screenshot of the current browser page' and 'Returns the file path to a saved PNG image.' It distinguishes from sibling tools by recommending browser_get_dom and browser_get_page_info for understanding content, clearly stating when to use screenshots.

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

Usage Guidelines5/5

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

Explicitly states when to use (visual layout verification, debugging, DOM insufficient) and when not to ('slow and heavy — prefer browser_get_dom...'). Also provides guidance on zooming with rect and pageRect coordination.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smankoo/open-browser-control'

If you have feedback or need assistance with the MCP directory API, please join our Discord server