Skip to main content
Glama

Browser Dialog Respond

browser_dialog_respond

Resolve pending browser dialogs by accepting or dismissing them, optionally supplying text for prompts.

Instructions

Respond to a pending manual-mode dialog (accept/dismiss, optional text).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabNo
textNo
acceptNo
sessionNodefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
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 the core action (accept/dismiss with optional text) and the manual-mode context, but it does not state what happens if no dialog is pending, whether the call blocks or errors, or what the return value is.

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?

A single sentence with a front-loaded verb and no filler. It packs the key conditions and options into minimal space.

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 with four optional parameters, no annotations, and no explanation of tab/session targeting, this is thin. The output schema exists but the description still doesn't tell an agent which dialog/session is affected or how to verify success.

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 0%, so the description must compensate. It maps accept/dismiss to the accept parameter and 'optional text' to text, but says nothing about tab or session, which are ambiguous for targeting the right dialog.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a clear verb ('Respond') and specific resource ('pending manual-mode dialog'), and it mentions the accept/dismiss action and optional text. It does not explicitly name sibling tools like browser_set_dialog_mode or browser_read_dialogs, so differentiation is mostly implicit via 'manual-mode'.

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 phrase 'pending manual-mode dialog' sets a clear precondition: only call when a manual-mode dialog is pending. But there is no explicit when-not or alternative routing, such as using browser_read_dialogs to inspect first or browser_set_dialog_mode for automatic handling.

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