Skip to main content
Glama

browser_tab_control

Release control of a browser tab while leaving it open, activate it, or close it. Use the tab handle to choose the action; release and close invalidate that handle.

Instructions

Release control and leave the page open, activate the tab, or close it (may discard unsaved state). Release/close invalidate tab_handle.

Input Schema

NameRequiredDescriptionDefault
actionYes
tab_handleYes
focus_windowNoactivate only; default true. False selects the tab without focusing its window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.24.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose two real behavioral traits: close 'may discard unsaved state' and both release and close 'invalidate tab_handle'. That is meaningful side-effect and lifecycle disclosure. It stops short of saying whether the handle stays valid after activate or what the call returns, so it is strong but not complete.

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 tight sentence that front-loads the action set and appends the two critical caveats (data loss and handle invalidation). No filler, no restatement of the tool name.

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?

For a three-parameter, annotation-free, no-output-schema tool, the description covers the action semantics and the two hazardous side effects that an agent most needs before calling. Minor gaps remain around what activate returns and whether errors occur on a stale handle, but nothing critical to 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 only 33%, with focus_window the only documented parameter, so the description must compensate — and it largely does by defining the three action enum values and their consequences (release leaves the page open, close may discard state, release/close invalidate the handle). tab_handle is only implicitly characterized via the invalidation note, which is the remaining gap.

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 names a specific resource (the browser tab handle's control state) and enumerates the three operations it performs: release, activate, close. It is clearly distinguishable from siblings like browser_click or browser_snapshot, though it never explicitly contrasts itself with browser_claim_tab or browser_open_tab, which are the nearest neighbors.

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?

The phrase 'Release control and leave the page open' implies this is the counterpart to claiming a tab, giving an implied when-to-use for one of the three actions. However, there is no explicit guidance on when to prefer release over close, nor on how this relates to browser_claim_tab or browser_open_tab, leaving selection partly to inference.

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