Skip to main content
Glama

Wait for Screen to Settle [Pro]

wait_for_settle

Polls the device UI tree until two consecutive snapshots are identical, indicating animations and loading have completed. Use after navigation or screen transitions to ensure the new screen is ready for interaction.

Instructions

[Pro] Waits for the screen to stop changing after a navigation or action. Polls the UI tree until two consecutive snapshots are identical, indicating animations and loading have completed. Use this after tapping navigation buttons or triggering screen transitions to ensure the new screen is ready for interaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesDevice serial ID
timeoutNoMaximum time to wait in milliseconds (default: 3000)
poll_intervalNoTime between polls in milliseconds (default: 500)
Behavior4/5

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

No annotations are provided, so description fully handles transparency. It explains the polling mechanism: polling until two consecutive snapshots are identical. This discloses the behavioral trait of waiting for stability, which is valuable for an agent to understand potential time consumption.

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?

Two sentences, no filler. The first sentence states the purpose, the second explains the mechanism and usage. Every sentence earns its place.

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?

Given no output schema and annotations, the description is fairly complete. It explains what the tool does, how it works, and when to use it. A minor gap: the description does not mention what happens on timeout (e.g., error or return), but overall it's sufficient for an agent to use correctly.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3. The description adds value by explaining the purpose of timeout and poll_interval in context of polling, though the schema already describes them. The justification for these parameters is slightly enhanced by the behavioral context.

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?

The description clearly states the tool waits for the UI to stop changing after navigation or action, which is a specific verb+resource purpose. It distinguishes from siblings like wait_for_element by specifying it waits for the entire screen to settle, not a particular element.

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?

The description explicitly recommends use after tapping navigation buttons or screen transitions. It does not explicitly state when not to use it or alternatives, but the context of polling for identical snapshots implies it's for dynamic screen updates, which is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saranshbamania/mobile-device-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server