Skip to main content
Glama

wavexis_dialog_dismiss

Idempotent

Dismisses a JavaScript alert, confirm, or prompt dialog that is blocking an automated browser session so page loading or the next scripted step can proceed.

Instructions

Dismiss a JavaScript dialog.

Args: input: Dialog dismiss parameters.

Returns: JSON string with status "ok".

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": {
      "input": "<input>"
    },
    "name": "wavexis_dialog_dismiss"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so safety is covered. The description adds nothing beyond the annotations: it does not say whether dismissal cancels a pending action, what happens to the dialog's text (for example, a prompt value), or which dialog types it applies to. The 'Returns: JSON string with status ok' line is redundant because an output schema exists.

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

Conciseness3/5

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

The description is short and front-loads the operation, which is good. However, the 'Args:'/'Returns:' boilerplate consumes most of the text while conveying no information that the schema and output schema do not already provide.

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 browser-automation mutation with the annotation coverage it has, the definition should say which dialog types it handles and what side effect dismissal has. The presence of an output schema excuses it from describing return values, but nothing else is filled in. An agent is left guessing about the semantics of dismissing a dialog.

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?

The only parameter text is 'input: Dialog dismiss parameters,' which restates the parameter name rather than explaining it. Schema description coverage is reported as 0%, so the description needed to explain the session_id input and the fact that it must come from wavexis_session_open; it does not.

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 states a specific verb and resource: 'Dismiss a JavaScript dialog.' This is clearly distinguishable from the sibling wavexis_dialog_accept, even though that alternative is never named. The intent is unambiguous, but the tool is not explicitly positioned against its sibling.

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

Usage Guidelines2/5

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

There is no guidance on when a dialog should be dismissed versus accepted, or on what state a dialog must be in for dismissal to be valid. The definition offers no suggestion to call wavexis_dialog_accept instead if the goal is to confirm. Usage is only implied by the verb.

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