Skip to main content
Glama

dialog

Configure how browser alert, confirm, and prompt popups are answered from now on, and list popups encountered so far.

Instructions

Set how alert/confirm/prompt are answered from now on, and list dialogs seen so far.

Input Schema

NameRequiredDescriptionDefault
tabNotab id, defaults to current
textNo
clearNo
acceptNo
request_timeoutNoOuter page request deadline in milliseconds; defaults to at least 30000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It notes persistence for future dialogs but omits whether calls block, how accept/dismiss is determined, what clear resets, and what the listing result contains.

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 compact sentence, front-loaded with the main set operation, and contains no filler. It is terse, but every clause is doing work.

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?

With five optional parameters, no annotations, no output schema, and low schema coverage, the definition leaves critical behavior and return semantics undocumented. An agent cannot tell what a listing response contains or how prompt text is used.

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 only 40%; only tab and request_timeout are documented in the schema. The description references alert/confirm/prompt generally but does not map accept, text, or clear to concrete 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?

The description names specific behaviors: configuring responses to alert/confirm/prompt and listing observed dialogs. It is clear enough to identify the tool, though it does not explicitly distinguish the two modes (setting vs listing) or explain which parameters trigger which behavior.

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?

It implies persistent configuration via 'from now on' and retrieval via 'list dialogs seen so far,' but gives no explicit when/when-not guidance or prerequisites. No alternative tool is named, and it does not clarify when to use this versus handling dialogs indirectly through other browser actions.

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