Skip to main content
Glama
patchright-mcp

patchright-mcp

by quantmew

navigate

Move through an existing browser session by loading a URL, stepping back or forward, or reloading the current page.

Instructions

Navigate within browser session (goto, back, forward, reload)

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": {
      "browserId": "<browserId>",
      "pageId": "<pageId>",
      "action": "<action>"
    },
    "name": "navigate"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL for goto action
actionYesNavigation action to perform
pageIdYesPage ID from a previous browse operation
timeoutNoMaximum time to wait (milliseconds)
browserIdYesBrowser ID from a previous browse operation
waitUntilNoWhen to consider navigation complete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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, yet it says nothing about what happens to existing page state after navigating, whether a new pageId is issued, whether it errors on a dead session, or how it blocks. The waiting semantics are left entirely to the schema's timeout/waitUntil fields rather than explained.

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?

A single short sentence with the key resource and action set front-loaded, and no padding or redundant phrasing. Nothing in it needs to be cut.

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 six-parameter, three-required tool with no annotations and no output schema, so the description should explain state effects and return expectations. Instead it supplies one line, leaving the agent unable to tell whether navigation returns page content, a new pageId, or nothing.

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 each of the six parameters documented in the schema itself, so the baseline is 3. The description only repeats the four enum values for 'action' and adds no meaning about url requirements per action or how waitUntil interacts with timeout.

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 gives a specific verb ('Navigate') plus the resource ('within browser session') and enumerates the supported actions (goto, back, forward, reload), which distinguishes it from siblings like interact or extract. It stops short of explicitly contrasting with browse, so a 4 rather than 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the action list tells the agent this is for moving the page around, but there is no statement of when to prefer navigate over browse or interact, nor any prerequisite guidance (e.g. that browserId/pageId must originate from a prior browse call).

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

Deploy Server

Other Tools