Skip to main content
Glama

dismiss_popup

Closes page pop-ups such as cookie banners or newsletter prompts using their close button or Escape, after checking whether the pop-up requires an answer for the task.

Instructions

Close the pop-up on top of the page (cookie banner, "share your info", newsletter, app promo...) with its close / "Not now" button, or Escape if it has none. Read the pop-up first: if it asks something the user's task depends on, answer it with click instead.

Input Schema

NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate this is not read-only and operates in an open world. The description adds meaningful behavioral context: it closes the topmost popup via its close/'Not now' button or Escape, and warns to inspect the popup before dismissing it. It does not describe return behavior, but no output schema exists.

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, front-loaded with the primary action and followed by essential usage guidance. The examples and fallback instruction all add practical value without unnecessary verbosity.

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 simple one-parameter action with no output schema, the description is nearly complete: it explains the action, fallback, and when to avoid it. The main omission is any explanation of the session_id parameter.

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 schema has one required parameter, session_id, with 0% description coverage. The description does not explain what session_id represents or how it should be supplied, so it fails to compensate for the schema gap.

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 uses a specific verb and resource ('Close the pop-up on top of the page') and gives concrete examples of popup types. It clearly distinguishes this action from clicking within a meaningful popup.

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 states when to use this tool and when not to: read the popup first, and if it asks something the user's task depends on, use click instead. It also explains the fallback method of pressing Escape if no close button exists.

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