Skip to main content
Glama

dismiss_banners

Dismiss cookie, consent, and newsletter banners on web pages using heuristic detection.

Instructions

Heuristically dismiss cookie/consent/newsletter banners.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leaseNoOptional lease token to present if the target session is leased (0.7.0). Threaded per-call; never read from the server's env.
preferNoaccept|reject (default reject).
dry_runNoReport candidates without clicking.
sessionNoOptional session name to target (omit for the shared 'default'). On a daemon shared with other agents, pass a UNIQUE name for stateful multi-step work (go→click→fill) so you don't collide on 'default'.
max_clicksNoMax banners to dismiss.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It mentions 'heuristically' but does not disclose that the tool likely clicks elements on the page, could make mistakes, or that dry_run is available to preview behavior. The description gives no insight into side effects, reliability, or edge cases, which is expected for an action-oriented heuristic tool.

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, focused sentence with no filler. It states the core purpose immediately and does not waste words.

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?

For a tool that performs heuristic interactions with a page, the behavior is under-described. There is no mention of what happens when it works or fails, no side effects, no return value, and no guidance on how reliable the heuristics are. The rich parameter descriptions do not compensate for the lack of behavioral context.

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 each parameter already carries a detailed description in the schema. The tool description itself adds no additional parameter context beyond what the schema provides, so the value is purely at baseline level.

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 action (dismiss) and the target (cookie/consent/newsletter banners), with the modifier 'heuristically' indicating an automated approach. No sibling tool has a similar purpose, so it is easily distinguished.

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 implies when to use the tool (to automatically dismiss banners) but does not explicitly state when not to use it or provide alternatives. For example, it doesn't note that it might misfire and that a manual click could be preferred. This is implied usage, not explicit guidance.

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