Skip to main content
Glama
pm990320

ultimate-playwright-mcp

by pm990320

browser_tabs

List, create, close, or focus browser tabs, optionally scoped to a tab group for multi-user isolation.

Instructions

Manage browser tabs. When using tab groups (recommended for multi-user), pass groupId to scope operations to your group's tabs only.

Actions:

  • 'list': Show tabs. With groupId → only your group's tabs. Without → all tabs.

  • 'new': Create a tab. If groupId is provided, the tab is added to that group.

  • 'close': Close a tab by index or targetId.

  • 'select': Focus a tab by index or targetId.

⚡ IMPORTANT: Create a tab group first for multi-user isolation. Ungrouped tabs remain available as a fallback for local manual testing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesTab action to perform
groupIdNoTab group name to scope this operation to (from browser_tab_group). Recommended for multi-user isolation.
urlNoURL for 'new' action (defaults to about:blank)
indexNoTab index for 'close' or 'select' actions (relative to group if groupId is set)
targetIdNoTarget ID for 'close' or 'select' actions (alternative to index)
Behavior4/5

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

No annotations provided, but description details action outcomes: list scopes by group, new adds to group, close/select by index/targetId. Lacks mention of error cases or side effects, but overall good disclosure.

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?

Concise with clear structure: intro, action list with brief explanations, and an important note. No redundant sentences, front-loaded with key information.

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

Completeness4/5

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

Covers all actions and parameters, mentions group isolation. Lacks explicit return format for 'list', but this is minor given the tool's simplicity and schema details.

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

Parameters5/5

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

Schema coverage is 100%, yet description adds significant value: links actions to parameters (url for new, index/targetId for close/select) and explains groupId scoping. Also notes index is relative to group when groupId set.

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 'Manage browser tabs' and lists actions (list, new, close, select) with clear verb-resource pairs. It distinguishes from sibling tools like browser_tab_group by mentioning tab groups.

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?

Explicit guidance: recommends tab groups for multi-user, explains behavior with/without groupId, and advises creating group first for isolation. No explicit 'when not to use', but context makes it clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pm990320/ultimate-playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server