Skip to main content
Glama
Playwright MCP Server

Playwright MCP Server

by sohitmahato

playwright_navigate

Navigates a browser to a specified URL with configurable wait conditions, enabling web scraping, testing, and automation via natural language commands.

Instructions

Navigate to a URL in the browser

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to navigate to
waitUntilNoWhen to consider navigation succeeded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it discloses nothing about what navigation does: whether it waits for page load by default, whether it discards current page state, what happens on timeout or failure, or whether it opens a new page or reuses the existing one. Only the schema's waitUntil enum hints at load semantics.

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?

A single front-loaded sentence with zero filler. It is efficient, though its brevity edges toward under-specification rather than true conciseness.

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?

For a two-parameter navigation tool with a fully documented schema and a ready-made enum for load conditions, the definition is minimally viable. It omits error behavior and page-lifecycle requirements, which matter for a navigation primitive in a browser-automation suite.

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%, so both url and the waitUntil enum are already fully documented in the schema. The description adds no syntax, format, or default-value information beyond that, which is the expected baseline when the schema does the work.

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 clear verb and resource: 'Navigate to a URL in the browser.' An agent knows this loads a page, distinct from action tools like playwright_click or playwright_fill. However, it never distinguishes itself from the closely related playwright_reload, playwright_go_back, and playwright_go_forward siblings.

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 guidance on when to use this versus reload, back, or forward, and no mention of prerequisites such as requiring an already-open page or a prior launch step. The agent must infer all usage context from the tool name.

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