Skip to main content
Glama

browser_overlay

Detects overlays such as popups, cookie banners, and floating layers, then automatically dismisses them to enable unobstructed browser testing and evidence collection.

Instructions

遮挡物处理工具(v1.9.5 起合并 browser_overlay_detect/dismiss)。通过 mode 参数区分子模式:detect(默认,检测页面遮挡元素如弹窗/Cookie 横幅/浮层)/ dismiss(自动识别并点击关闭常见遮挡物)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo遮挡物模式:detect(默认,检测页面遮挡元素)/ dismiss(自动关闭遮挡物)detect
formatNo输出格式:json(默认结构化数据)或 html(HTML 报告)(所有模式通用)json
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that dismiss mode automatically clicks to close overlays (implying mutation), and detect mode identifies elements. However, it does not detail side effects (e.g., page changes), permission needs, or whether the operation is reversible. Given the tool's simplicity, this is adequate but not thorough.

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 two sentences long, directly stating the purpose and sub-modes. It is front-loaded with the main functionality and avoids unnecessary details, making it efficient for an agent to parse.

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

Completeness2/5

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

The tool has no output schema, so the description should explain what the tool returns (e.g., detected overlays, success status). The description only mentions actions ('detect' and 'dismiss') but does not describe the output format or expected results, leaving a gap for the agent to infer the return value.

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% with descriptive enum values. The description adds context about the merger version but does not significantly enhance understanding beyond the schema. The parameter descriptions in the schema already cover the meaning of 'mode' and 'format'.

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's purpose: detecting and dismissing overlays like popups and banners. It explicitly mentions that it is a merged tool (v1.9.5) combining two previous tools, which distinguishes it from siblings like browser_overlay_detect and browser_overlay_dismiss.

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 description explains the two modes (detect and dismiss) with defaults, implying when each mode should be used. However, it does not provide explicit guidance on when to use this tool versus alternative approaches (e.g., browser_click for manual closing), nor does it state prerequisites or when not to use it.

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

Install Server

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/validpilot/ai-verify-mcp'

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