Skip to main content
Glama
Browser Session MCP

Browser Session MCP

navigate

Load an absolute URL in the session's active tab and wait until the page loads, network activity settles, or specified text appears; returns the final URL after redirects.

Instructions

Load a URL in the session's active tab and return once the page's load event fires, or with waitUntil: networkidle once its requests go quiet, or once text shows. Use new_page instead to keep the current page and load the URL in a new tab. If every tab was closed, a new one is opened. url must be absolute (https://, http://, data:, about:); timeout bounds only the wait for the load event. The returned url is the final one after any redirects. Fails with Chrome's net error (e.g. net::ERR_NAME_NOT_RESOLVED) if the page can't load, or if timeout passes first, in which case the page may still be loading.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute URL to load, including the scheme.
textNoAlso wait until this text shows in the page (case-sensitive), failing if it doesn't.
timeoutNoMilliseconds to wait for the load event before failing. Default: no limit.
sessionIdYesThe id returned by open_browser_session. Errors if no open session has it.
waitUntilNo`load` (default) returns at the load event; `networkidle` also waits until no new request has started for 500ms, for pages that render themselves after loading.
settleTimeoutNoMilliseconds to wait for `waitUntil: networkidle` or `text` after the load event, at most 25000. Default 10000.

Output Schema

NameRequiredDescriptionDefault
urlYesThe page's URL after any redirects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.23
    • addedInput schema / properties / settleTimeout
      Added value: +{
      +  "description": "Milliseconds to wait for `waitUntil: networkidle` or `text` after the load event, at most 25000. Default 10000.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Also wait until this text shows in the page (case-sensitive), failing if it doesn't.",
      +  "type": "string"
      +}
    • addedInput schema / properties / waitUntil
      Added value: +{
      +  "description": "`load` (default) returns at the load event; `networkidle` also waits until no new request has started for 500ms, for pages that render themselves after loading.",
      +  "enum": [
      +    "load",
      +    "networkidle"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.1.5
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "properties": {
      +    "url": {
      +      "description": "The page's URL after any redirects.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "url"
      +  ],
      +  "type": "object"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / sessionId / description
      Added value: +"The id returned by open_browser_session. Errors if no open session has it."
    • addedInput schema / properties / timeout / description
      Added value: +"Milliseconds to wait for the load event before failing. Default: no limit."
    • addedInput schema / properties / url / description
      Added value: +"Absolute URL to load, including the scheme."
  4. First observedv0.1.2

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it explains the three return conditions, redirect handling, closed-tab behavior, the scope of timeout, and the specific failure modes. These are exactly the behavioral traits an agent needs to predict when this call completes or fails.

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?

The description is front-loaded with the primary action and return conditions, then moves through alternative tool guidance, constraints, and failure modes. Each sentence carries operational information without padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a navigation tool with an output schema, it covers completion conditions, redirects, edge cases such as all tabs closed, and failure behavior. Nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds useful meaning by specifying the accepted URL schemes and clarifying that timeout bounds only the load-event wait, which is not obvious from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: it loads a URL in the session's active tab and returns after a defined wait condition. It also explicitly distinguishes itself from new_page, which is the closest sibling for URL navigation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It tells the agent to use new_page instead when the goal is to preserve the current page and open the URL in a new tab. It also clarifies the fallback behavior when every tab was closed, so the choice between the two navigation tools is explicit.

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