MCP tool
wait_for_message
Wait until a message arrives in an inbox (up to 55 seconds) and return it with its text, codes and links.
The wait_for_message tool is provided by agmail. Install that server in your AI client and the assistant can call it directly.
Servers exposing wait_for_message
From the publisher:Wait until a message arrives in an inbox (up to 55 seconds) and return it with its text, codes and links. Returns at once if a matching message is already there. Free; needs the inbox id and secret.
Install agmail →Parameter Type Description afterinteger only a message with a sequence number above this (the seq of the last one you saw) fromstring only a message whose sender contains this text inbox_id*string the inbox id returned by create_inbox secret*string the inbox secret returned by create_inbox subject_containsstring only a message whose subject contains this text timeoutinteger seconds to wait for a message
Related tools
The same action under a namespaced name on other servers.
Tool lists are read from the live servers (or, for packaged servers, from their documentation) each morning, so this reflects what they exposed at the last refresh. Search all tools.