Skip to main content
Glama

browser_dismiss_popup

Automatically detect and dismiss popups (login, cookie consent, ads) by clicking close/cancel buttons or pressing Escape.

Instructions

自动检测并关闭弹窗(登录/cookie同意/广告): 关闭按钮→取消→Escape。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idNo
Install Server

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description alone must disclose behavioral traits. It usefully reveals the multi-step attempt sequence, which is a significant behavioral detail. However, it does not mention what happens if no popup is found, whether the action is destructive, or how it interacts with the task_id parameter. The potential for unintended clicks is also not disclosed.

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?

The description is a single, highly efficient sentence that front-loads the tool's purpose and lists the fallback strategy in a compact arrow format. Every word contributes meaning with no filler or redundancy.

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?

The description is functionally clear for a simple popup-dismissal tool, but it lacks return behavior (no output schema), failure handling, and parameter explanation. An agent would not know whether the tool returns success/failure or what happens if no popup exists. While the description covers the core action, these gaps limit full completeness.

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

Parameters2/5

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

The only parameter, task_id, is not described in the schema (0% coverage) and the tool description does not mention it or clarify its purpose. Since the schema provides no semantics beyond the name, the description carries the burden, but it fails to explain what task_id refers to. The name implies an identifier, but its role in targeting the popup is unclear.

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 clearly states the tool automatically detects and closes popups, specifying three common types (login/cookie consent/ads) and an ordered strategy (close button → cancel → Escape). This is a specific verb+resource description that clearly distinguishes it from sibling browser interaction tools like browser_click or browser_navigate.

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?

The description provides clear context on when to use the tool: when popups such as login, cookie consent, or ads appear. It implies the use case but does not explicitly name alternatives or state when not to use it. The strategy sequence hints at a self-contained fallback approach, but a direct 'use this instead of manual clicking' would be stronger.

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

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/paipaipai666/nexus-browser-mcp'

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