Skip to main content
Glama
81117105108108

Blinkwire

Handle a dialog

browser_handle_dialog

Resolve pending JavaScript dialogs by accepting or dismissing them, invoked after the action that triggers alerts, confirms, prompts, or beforeunload.

Instructions

Accept or dismiss a pending JavaScript dialog (alert, confirm, prompt or beforeunload). Call it right after the action that opened the dialog.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
acceptYesWhether to accept the dialog
promptTextNoText to enter for a prompt dialog

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The description explains that the tool will either accept or dismiss a dialog and indicates the supported dialog types. Annotations do not contradict this behavior. It could mention side effects (e.g., dismissing may cancel navigation) but the core behavior is transparent enough given the annotations.

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 concise and well-structured, consisting of two short sentences. It front-loads the main action and then adds essential timing context without any redundant or extraneous words.

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?

The description provides enough context for correct invocation, including dialog types and timing. It does not describe the absence of a return value or what happens if no dialog is pending, but these details are not necessary for the basic use case and the tool is simple enough that the provided context is adequate.

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?

Both parameters are covered by the schema descriptions with clear meaning: 'accept' indicates acceptance versus dismissal, and 'promptText' is for entering text into prompt dialogs. Since schema coverage is 100%, the description adds no extra semantic detail beyond the schema, so a baseline score is appropriate.

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 function: accepting or dismissing a pending JavaScript dialog. It lists the relevant dialog types (alert, confirm, prompt, beforeunload), which distinguishes it from other browser action tools and leaves no ambiguity about its purpose.

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 practical timing guidance by instructing to call the tool immediately after the action that opened the dialog. While it doesn't explicitly mention alternatives or edge cases, the guidance is sufficient for correct usage in the typical dialog-handling flow.

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

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/81117105108108/Blinkwire'

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