Skip to main content
Glama
Browser MCP Server

Browser MCP Server

take_screenshot

Capture full-page or element screenshots from a controlled browser and save them to a specified path for visual checks, debugging, or documentation.

Instructions

Screenshot page or element.

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": "take_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
pageIdNo
fullPageNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it says nothing about side effects. It does not state whether a file is written to disk (implied by the 'path' param), what is returned inline, whether the browser must be connected, or how fullPage behaves.

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?

The single sentence is front-loaded and contains no filler, but it is under-specified rather than efficient. Brevity here removes information the agent needs rather than removing waste.

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?

For a four-parameter tool with no annotations, no output schema, and zero schema documentation, a five-word description leaves critical gaps: the file/output behavior, the relationship between pageId, selector, and path, and the session prerequisites.

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 description coverage is 0% across four parameters, so the description must compensate and does not. 'Page or element' hints loosely at pageId vs selector, but path and fullPage are entirely unexplained — the agent cannot tell if path is a directory, filename, or optional save target.

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?

The description names a specific verb+resource: 'Screenshot page or element.' It is understandable at a glance, but it does not distinguish this tool from the sibling mark_page_and_screenshot, nor does it explain whether 'page or element' maps to the pageId/selector parameters.

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?

There is no when-to-use guidance, no prerequisites (e.g. an active page/session), and no mention of when to prefer mark_page_and_screenshot or another capture tool. The agent must infer everything from the one-line description.

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