Skip to main content
Glama
Pagewright (browser-mcp)

Pagewright (browser-mcp)

by zamansheikh

browser_tabs

List, open, focus, or close tabs in the user's Chrome profile, including opening a URL and switching the agent's active tab.

Instructions

List, open, select (focus) or close browser tabs. "new" opens a tab (optionally at url) and makes it the agent's current tab; "select" makes a tab current.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_tabs"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoFor action "new": page to open.
tabIdNoTab to act on. Defaults to the tab last opened/selected by an agent, else the active tab.
actionNolist
backgroundNoFor "new"/"select": do not focus the tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full load and does disclose an important state effect: "new" and "select" change the agent's current tab, and the background flag suppresses focus. It says nothing about what close does to the tab (permanence, unsaved state) or about permissions/errors, which are meaningful gaps for a mutating action.

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 sentences, front-loaded with the operation list before the per-action detail, with no filler. The quoted-action phrasing is slightly awkward but not wasteful.

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 four-parameter tool with no output schema and no annotations, the description should cover more: the unmentioned "current" action, what "list" returns (no output schema to fall back on), and what closing a tab costs. It is adequate to call the tool but not 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 75%, so the schema already documents url, tabId, and background defaults. The description reinforces that url applies only to "new" and clarifies the current-tab side effect, but leaves the semantics of "list", "close", and "current" actions unexplained beyond their names.

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 opens with a specific set of verbs (list, open, select, close) applied to a concrete resource (browser tabs), which clearly separates it from siblings like browser_navigate or browser_click. It weakens slightly because the schema's fifth action, "current", is never mentioned, so the stated operation set is incomplete.

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?

It explains what "new" and "select" do and how they affect the agent's current tab, which implies when to reach for them. It gives no explicit when-not guidance and never contrasts this tool with browser_navigate or browser_status, leaving the agent to infer the boundary.

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