Skip to main content
Glama

xae_dialog_resolve

Destructive

Click a button on an open XAE dialog ('OK', 'Yes', 'No', 'Cancel'…). remember=true adds an auto-answer rule for that title (never for machine-affecting prompts).

Instructions

Click a button on an open XAE dialog ('OK', 'Yes', 'No', 'Cancel'…). remember=true adds an auto-answer rule for that title (never for machine-affecting prompts). Control-class; machine-affecting prompts (activate/run/download/login/delete/safety) are destructive-class. A window that is not a standard dialog is pressed through UI Automation; one whose buttons cannot be read is refused (close it in XAE) — never closed by the tool.

Input Schema

NameRequiredDescriptionDefault
hwndNo
buttonYes
rememberNo
confirm_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context beyond annotations: auto-answer rules, which prompts are destructive-class, UIA fallback behavior, refusal for unreadable buttons, and an explicit guarantee that the tool never closes the window itself. This is exactly the behavioral detail an agent needs for a destructive, non-idempotent tool.

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?

The core action is front-loaded, and every clause carries safety or behavior information. It is slightly dense and semicolon-heavy, but not padded or redundant.

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

Completeness4/5

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

Covers the difficult parts: destructive classification, auto-answer restrictions, UIA fallback, and refusal behavior. An output schema exists, so return values need not be explained, but the missing hwnd and confirm_token semantics keep it short of fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It explains button examples and remember semantics well, but hwnd and confirm_token are not mentioned at all, leaving two of four parameters undocumented.

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?

States a specific verb and resource: clicking a button on an open XAE dialog. It is clearly distinct from the sibling xae_dialogs, which presumably lists dialogs, and the examples make the action concrete.

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

Usage Guidelines4/5

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

Explains the remember=true condition and explicitly excludes machine-affecting prompts from auto-answer. It does not explicitly say to call xae_dialogs first or when to use this versus xae_dialogs, but the context is otherwise clear.

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

Deploy Server

Other Tools