Check for gap-floor and new-booking alerts
check_alertsProactively checks for gap nights priced below your cost floor and new bookings net of turnover costs. Sends notification if configured; never writes prices.
Instructions
Read-only proactive check: (1) upcoming gap nights priced below your cost floor (recommended risk preset — same data as propose_decisions, but this tool never saves proposals to the decision log), and (2) new bookings since the last check, each shown net of turnover costs. Never writes prices. Sends a notification if a channel is configured (NM_TELEGRAM_BOT_TOKEN + NM_TELEGRAM_CHAT_ID, or NM_WEBHOOK_URL) and send is not false — without a channel configured, nothing is sent and the text report is returned as usual. Also available as night-margin-mcp --watch for cron.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| send | No | Send a notification if a channel is configured (default true — set NM_TELEGRAM_BOT_TOKEN + NM_TELEGRAM_CHAT_ID, or NM_WEBHOOK_URL, to configure one). Set false to only see the report without sending anything. |