Skip to main content
Glama

Press a popup notification button

browser_accept_popup_notification

Clicks the main action button of a popup notification by ID, such as accepting a save-password prompt, to automate handling browser dialogs. Get IDs from browser_list_popup_notifications.

Instructions

Press the main action of a doorhanger notification by id — for example accepting "Save password?". Get ids from browser_list_popup_notifications. This is the programmatic equivalent of the human clicking the button in the browser UI.

Input Schema

NameRequiredDescriptionDefault
idYesNotification id from browser_list_popup_notifications

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=false already flags a mutating call; the description goes further by explaining that only the main/primary action is triggered, that this is equivalent to a human click, and that the effect is a real decision such as accepting a password save. It doesn't cover failure behavior for stale/unknown ids or what the call returns, but it adds meaningful context beyond the annotation.

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 short sentences: action, id source, and a behavioral analogy, with the core action front-loaded. No filler.

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

Completeness5/5

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

For a one-parameter mutating tool with no output schema, the description covers what it does, where the id comes from, and what the effect is. Nothing essential for correct invocation is missing.

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 single parameter's own description already points to browser_list_popup_notifications, so the description adds no new syntax or format detail. Baseline 3 applies since the schema does all the work.

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 gives a specific verb+resource ("press the main action of a doorhanger notification by id") and an example use case (accepting "Save password?"). It clearly distinguishes itself from browser_list_popup_notifications, but not from the adjacent browser_handle_prompt sibling, which an agent might confuse with this.

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?

It explicitly tells the agent where the required id comes from (browser_list_popup_notifications), which is the key selection prerequisite. It does not, however, state when-not to use it or how it relates to browser_handle_prompt for generic dialogs.

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

Deploy Server

Other Tools