Skip to main content
Glama

wait_for_window

Polls for windows to appear or disappear by title, ensuring UI actions complete before proceeding in automated workflows.

Instructions

Wait for a window to appear or disappear.

Polls the window list until a window with a matching title is
found (or gone).  Use after actions that open or close windows.

Args:
    title: Window title to search for (substring match).
    app: Only look for windows in this application.
    timeout: Maximum seconds to wait (default 10).
    gone: If true, wait for the window to DISAPPEAR instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
appNo
timeoutNo
goneNo

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/Touchpoint-Labs/Touchpoint'

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