Skip to main content
Glama
1password-browser-mcp

1password-browser-mcp

Handle dialog

browser_dialog

Accept or dismiss a pending alert, confirm, or prompt dialog on the active browser tab, optionally supplying prompt text to complete blocking JavaScript dialogs.

Instructions

Accept or dismiss a pending alert/confirm/prompt dialog on the active tab.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accept": "<accept>"
    },
    "name": "browser_dialog"
  }
}

Input Schema

NameRequiredDescriptionDefault
acceptYes
promptTextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 and does not disclose failure behavior when no dialog is pending, whether the call blocks/waits, whether dismiss is safe/reversible, or how the accepted value is returned. It adds only the dialog-type enumeration, which is useful but thin for a mutating page interaction.

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 front-loaded sentence with the resource, verb, and scope; nothing is redundant or padded.

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?

No annotations and no output schema mean the description is the only source of behavioral detail, yet it omits the promptText contract, the no-dialog case, and any indication of what the tool returns. For a two-parameter interaction tool this leaves meaningful gaps.

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?

Schema description coverage is 0% for two parameters. The accept/dismiss wording maps loosely onto the 'accept' boolean, but 'promptText' — the one parameter with non-obvious semantics (text submitted to a prompt dialog, presumably only meaningful when accepting) — is never mentioned, so the description does not compensate for the coverage 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 names specific verbs (accept/dismiss), a specific resource (alert/confirm/prompt dialog), and the scope (the pending dialog on the active tab). No sibling in the catalog handles dialogs, so the agent can identify this tool immediately without opening the schema.

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?

Usage is only implied: it says 'pending' dialog, which hints the tool is for when a dialog blocks the page. It never states when to call it (e.g., after an action triggers a dialog, or when another browser_* call stalls) or what happens if no dialog is present.

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