Skip to main content
Glama

browser_close_popup_bubble

Dismiss or answer popups blocking a browser tab, including permission bubbles and dialogs. Use the default dismiss action to close them without writing a lasting decision into the browser profile.

Instructions

Answer the popup blocking a tab (permission bubbles, dialogs). browser_take_snapshot reports which popups are open and what each one accepts. When unsure use dismiss: it refuses without writing a decision into the browser profile, where it would outlive the task.

Input Schema

NameRequiredDescriptionDefault
tabIdNoTab to act on. Defaults to the foreground tab of that window.
actionNoDefault dismiss, the most conservative one.
windowIdNoWindow to act on. Defaults to the frontmost window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 burden and does disclose a real side effect: dismiss refuses without writing a decision into the browser profile, and by implication other actions do persist a decision beyond the task. That is a meaningful, non-obvious behavioral trait. It does not cover failure behavior when no popup is present or what the call returns.

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?

Three tight sentences, front-loaded with the action, then discovery, then the safety caveat. Every sentence carries decision-relevant information; nothing is padding.

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?

All parameters are optional with full schema documentation and no output schema, so the description need not explain returns. It supplies the discovery path and the persistence caveat, which is what an agent needs to act safely. Minor gap: no statement of what happens if no popup is actually blocking the tab.

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 description coverage is 100%, including the enum values and the dismiss default, so the schema already documents all three parameters. The description's 'use dismiss when unsure' restates the schema's 'Default dismiss, the most conservative one' rather than adding new semantics. 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?

The description states a concrete verb+resource: answer/close a popup blocking a tab, with the parenthetical naming the concrete cases (permission bubbles, dialogs). It is clearly distinct from browser_take_snapshot, which it positions as the inspection tool. The only ambiguity is that 'answer' is broader than the tool name's 'close', though the parenthetical resolves it.

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 explicitly routes the agent: use browser_take_snapshot to learn which popups are open and what each accepts, then act here. It also gives an explicit safe default ('When unsure use dismiss'), which is exactly the when-in-doubt guidance an agent needs.

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