Skip to main content
Glama

wait_for_idle

Pauses execution until terminal output stabilizes, ensuring applications finish rendering after receiving input commands.

Instructions

Wait until the terminal buffer stops changing. Useful after sending keys to wait for the app to finish rendering.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession ID
timeoutNoMax wait time in milliseconds (default: 3000)
debounceNoHow long the buffer must be stable before considered idle, in ms (default: 300)

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/nvms/tui-mcp'

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