Skip to main content
Glama
axe-work

Quest Browser MCP Server

by axe-work

browser_handle_dialog

Resolve JavaScript alert, confirm, and prompt dialogs by accepting or dismissing, with optional text for prompts.

Instructions

Handle a JavaScript dialog (alert, confirm, prompt)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
acceptYesWhether to accept (true) or dismiss (false) the dialog
promptTextNoText to enter for prompt dialogs
Behavior2/5

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

There are no annotations, so the description must carry the full burden. It only repeats the generic action 'Handle' without revealing important behavioral traits such as whether it blocks until a dialog appears, what happens if no dialog exists, or that accepting vs dismissing has side effects. The schema provides accept/promptText details, but the description adds no extra context beyond the name.

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 sentence, front-loaded with the verb and resource, and contains no superfluous text. It is appropriately concise for a simple tool.

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?

For a tool with no output schema and two well-documented parameters, the description is adequate but incomplete. It lacks context on when dialogs occur, whether the tool waits or times out, and any prerequisites. This results in clear gaps given the lack of annotations.

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 description coverage is 100%, and the parameter descriptions are clear: accept is a boolean for accept/dismiss, promptText is for prompt dialogs. The description itself does not add meaning beyond the schema, which already explains the parameters. Baseline 3 applies because the schema does the heavy lifting.

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 ('Handle') with a clear resource ('JavaScript dialog') and explicitly lists the dialog types (alert, confirm, prompt). It distinguishes itself from sibling browser tools, none of which handle dialogs.

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 usage for JavaScript dialogs but does not explicitly state when to use this tool versus alternatives or provide conditions (e.g., when a dialog appears, or that it should not be used for other UI elements). There is no exclusionary guidance, but the tool's purpose inherently differentiates it from siblings.

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/axe-work/quest-browser-mcp'

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