Skip to main content
Glama

ui2.wait_change

Wait for the screen to change after an action, then return the new interactive elements. Confirms a button press or UI update took effect.

Instructions

等画面变化(点了按钮后确认生效),变化时返回新界面的可交互元素

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
baseline_textNo当前页面的标志文本(消失=变化)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that a change is detected by the disappearance of baseline_text and that the new interactive elements are returned. It does not describe timeout behavior, polling cadence, or what is returned when nothing changes within the timeout.

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?

A single front-loaded sentence that packs purpose, trigger context, and return value with no wasted words. Slightly dense but appropriately sized.

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?

For a two-parameter tool with no annotations and no output schema, the description covers purpose, trigger, and return content, but leaves failure/timeout behavior and the undocumented timeout parameter unaddressed. Adequate but with clear gaps.

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 50%: baseline_text is documented ('disappearance = change') but timeout has no description beyond its default. The description adds no parameter meaning at all, so it fails to compensate for the undocumented timeout parameter.

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+resource: it waits for a screen change and returns the new interface's interactive elements. The parenthetical use case ('after clicking a button to confirm the effect') makes the intent concrete. It does not, however, distinguish itself from the sibling ui.wait_for or events.wait.

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 gives one concrete usage scenario ('confirm a button click took effect'), which implies when to reach for it. But it names no alternatives (ui.wait_for, events.wait) and states no when-not conditions, so the agent must infer the boundary.

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