Skip to main content
Glama

browser_get_new_tab

Retrieve the most recently opened browser tab after actions like clicking links that spawn new tabs or completing OAuth popups, so agents can continue interacting with the new page.

Instructions

Get the most recently opened tab (useful after clicking links that open new tabs, OAuth popups, etc.).

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_get_new_tab"
  }
}

Input Schema

NameRequiredDescriptionDefault
partitionNoRun this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.33.0
    • addedInput schema / properties / partition
      Added value: +{
      +  "description": "Run this call in a partition from browser_partition (an id like \"p1\"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses what is retrieved and the typical post-condition context, but says nothing about whether the tab is focused/activated, what is returned (id? handle?), or what happens when no new tab exists — material for a browser tool returning an object to act on.

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 sentence with the core action front-loaded and the parenthetical use cases placed after it. Nothing is redundant or padded.

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 one-optional-parameter retrieval tool with no output schema, the description is adequate on the 'what' but silent on the return shape and the no-new-tab edge case. With no output schema to fall back on, that leaves a real gap an agent would otherwise have to discover by calling.

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 100% and the partition parameter is documented thoroughly, including the error semantics for unknown/closed ids. The description adds nothing about partition or defaults, so the schema does all the work and the baseline 3 applies.

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 specific verb+resource with a precise scope qualifier: 'most recently opened tab'. That scope distinguishes it in spirit from sibling tab tools like browser_list_tabs and browser_switch_tab, though it never names an alternative explicitly.

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

Usage Guidelines4/5

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

Gives concrete triggering scenarios ('after clicking links that open new tabs, OAuth popups'), which is real when-to-use guidance an agent can pattern-match. It stops short of stating exclusions or naming the alternative tool for enumerating or switching tabs.

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