Skip to main content
Glama
Playwright Smart MCP

Playwright Smart MCP

by jaystarz1

browser_interact

Executes multi-step browser interactions such as navigating, clicking, typing, filling forms, and selecting options to automate web tasks.

Instructions

Interact with a web page - navigate, click, type, fill forms, select options. Executes a sequence of actions.

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": {
      "actions": "<actions>"
    },
    "name": "browser_interact"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL to navigate to first (optional if already on a page)
actionsYesList of actions to perform
returnContentNoReturn page content after actions (default: true)
returnScreenshotNoReturn screenshot after actions (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: not whether the page/session persists between calls, not what happens if an action in the middle of the sequence fails, not whether the page is closed afterward, and not what authentication or permissions are needed. The schema does reveal that content is returned by default and screenshots are opt-in, but that is structured data rather than description content.

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 resource and the capability list, with no filler. Slightly wasteful in that the second sentence ('Executes a sequence of actions') largely restates the plural 'actions' array already implied, but overall it is tight.

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?

This is a multi-step browser automation tool with no annotations and no output schema, so the description should explain session persistence, failure semantics mid-sequence, and how to read the returned content or screenshot. None of that is present, leaving an agent to discover critical runtime behavior by trial and error.

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 description coverage is 100%, with every parameter and every action sub-field documented in the schema itself, so the baseline is 3. The description adds nothing about the action sequencing model (e.g., whether selectors are applied in order relative to the navigation, or how timeouts interact) that the schema does not already state.

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?

The description states a specific verb and resource ('Interact with a web page') and enumerates concrete capabilities: navigate, click, type, fill forms, select options, plus that it executes a sequence of actions. It is clear what the tool does, but it draws no boundary against siblings like browser_extract or browser_screenshot, so an agent must infer the split.

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 explicit when-to-use guidance, no when-not-to-use guidance, and no named alternative. The only contextual hint is the parenthetical on the url parameter ('optional if already on a page'), which implies session state but does not tell the agent when to pick this over browser_execute_code or browser_extract.

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