Skip to main content
Glama

dialog

Accept or dismiss browser alerts, confirmations, and prompts, optionally entering response text, to keep Chrome automation moving.

Instructions

Dialog processing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing. It does not say whether the call blocks until a dialog appears, whether it fails if no dialog is present, what accept vs dismiss does to the page, or what the text parameter feeds (likely a prompt input).

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

Conciseness2/5

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

Two words is under-specification rather than conciseness; there is no front-loaded explanation because there is no content at all. Nothing is padded, but nothing is earned either.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A browser-automation dialog tool with no annotations, no output schema, 0% parameter coverage, and a two-word description is not complete enough for an agent to call it correctly. The critical context of what a dialog is and when one exists is missing.

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 description adds no parameter meaning. The action enum (accept/dismiss) is somewhat self-explanatory, but the purpose of the text parameter is never explained, leaving half the parameters undocumented.

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

Purpose2/5

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

"Dialog processing" essentially restates the tool name without naming a verb or the resource's role in the browser session. It does not distinguish this from siblings like click or press_key, and an agent cannot tell whether it dismisses JS alert/confirm/prompt dialogs or handles UI modals.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisite (e.g. a dialog must be open), and no mention of alternatives among the many sibling tools. The agent is left to guess the trigger condition entirely.

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