Skip to main content
Glama

browser_alert

Read, accept, or dismiss JavaScript dialogs in Edge IE mode; accepting a dialog confirms the pending operation.

Instructions

Read, accept, or dismiss a JavaScript dialog. Acceptance can confirm a pending operation.

Input Schema

NameRequiredDescriptionDefault
actionNoread

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose a meaningful side effect ('acceptance can confirm a pending operation'), which is genuinely beyond structured data, but it omits what 'read' returns (dialog text/type), what happens if no dialog exists, and whether dismissal is irreversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action set and followed by the one caveat that matters. No filler; the only shortfall is that brevity here comes at the cost of the missing parameter and return details noted above.

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?

There is no output schema, so the description should explain what a 'read' yields (dialog message text, prompt input field, type), and it does not. For a single-parameter tool the description is minimally sufficient to act, but an agent cannot predict the result of the read action.

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% and the single 'action' parameter has no enum and no documentation, so the schema supplies only a name and a default of 'read'. The description lists the three action words but does not state they are the accepted values, does not mention the 'read' default, and does not clarify required vs optional behavior.

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?

States a precise verb set (read, accept, dismiss) against a specific resource (JavaScript dialog), which is unambiguous and clearly distinct from siblings like browser_click or browser_press_key. It never explicitly contrasts with siblings, but none of them plausibly overlap with dialog handling.

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: the agent must infer it should call this when a JS dialog blocks the page. The clause 'Acceptance can confirm a pending operation' is a useful caution about consequences but is not framed as when-to-use/when-not-to-use guidance, and no alternative or precondition (e.g. what to do if no dialog is present) is given.

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