Skip to main content
Glama
seleniumbase

SeleniumBase MCP Server

Official
by seleniumbase

screenshot

Capture the current browser page as an image and save it to a specified file.

Instructions

Take a screenshot of the current page and save it to disk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNoscreenshot.png

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description only mentions that it saves the screenshot to disk. It does not disclose whether existing files are overwritten, what happens on failure (e.g., if the page is not loaded), or any side effects. Since no annotations are provided, the description carries the full burden but provides minimal behavioral details.

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?

The description is a single, clear sentence with no unnecessary words. It is well-structured and immediately conveys the core action without fluff.

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?

While the description covers the primary action, it lacks detail on expected output (even though an output schema exists, its content is not described), error conditions, or interactions with other tools. For a simple tool, this might be sufficient, but given the absence of annotations and the lack of output clarification, it is not fully complete.

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?

The only parameter, 'filename', is mentioned in the schema but not explained in the description. There is no indication of whether it expects a full path, a relative path, or just a base name, nor any constraints on format. The default 'screenshot.png' gives a hint but does not clarify semantics.

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 states a specific verb ('Take') and resource ('screenshot of the current page') and clearly conveys the action of saving to disk. It is easily distinguished from sibling tools like click, type, or navigate, which perform other browser actions.

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 description does not explicitly state when to use this tool or provide alternatives. However, the purpose is self-evident in the context of browser automation, and it is clear that this tool is for capturing a visual state. No explicit guidance on when not to use or under what conditions it is appropriate is given.

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/seleniumbase/seleniumbase-mcp'

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