Skip to main content
Glama
Playwright Smart MCP

Playwright Smart MCP

by jaystarz1

browser_screenshot

Navigate to a specified URL and capture a screenshot, returning it as base64. Optionally wait for a selector or capture the full scrollable page.

Instructions

Navigate to a URL and take a screenshot. Returns the screenshot as base64.

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": {
      "url": "<url>"
    },
    "name": "browser_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to screenshot
waitForNoOptional: wait for selector before screenshot
fullPageNoCapture full scrollable page (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the return format ('base64') and that navigation occurs as part of the call, but says nothing about navigation timeouts, failure behavior on unreachable URLs, or waiting for load — gaps that matter for a headless-browser tool.

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?

Two short sentences, zero waste, with the action front-loaded and the return value second. Nothing extraneous.

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?

With no output schema, the description correctly states the return value is a base64 screenshot, which is the key missing piece an agent would otherwise need. Error and timing behavior remain undocumented, but for a simple three-parameter tool this is largely complete.

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 100%, so all three parameters (url, waitFor, fullPage) are already documented in the schema. The description adds no extra meaning about timing, defaults, or selector semantics, so baseline 3 applies.

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 compound verb+resource: 'Navigate to a URL and take a screenshot.' An agent can immediately tell this is a visual capture tool. It does not explicitly distinguish itself from siblings like browser_extract or browser_interact, which keeps it from a 5.

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?

The description says what it does but never states when to prefer it over browser_extract or browser_interact, nor any prerequisites (e.g., page must be renderable, no authentication). Usage is only implied by the verb 'screenshot'.

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