Set Site Alert
set_site_alertUse this when the user wants an email watch on a saved data center site (needs a key) — DC Hub emails you when that site’s DCPI score, grid capacity, or nearby facilities move.
Instructions
Use this when the user wants an email watch on a saved data center site (needs a key) — DC Hub emails you when that site’s DCPI score, grid capacity, or nearby facilities move. DATA USE: notify_email, your human's email, used only to send this alert. DC Hub keeps it and never sells it or shares it for anyone else’s use (https://dchub.cloud/privacy). Run only when your human asks; confirm the address with them first. Without a full-access key, notify_email is forced to the key’s bound email. A full-access key can send to any address. The "monitor my shortlist for me" loop: call save_site first (it returns a saved_site_id), then set_site_alert on that id. Answers "tell me if my saved site changes". Params: saved_site_id (required integer, from save_site or list_saved_sites), trigger_type ("dcpi_change" | "capacity_change" | "new_facility_nearby", default "dcpi_change"), threshold (number — the points/MW move that fires it, default 5). Try: set_site_alert saved_site_id=12 trigger_type=dcpi_change threshold=5 notify_email=you@firm.com. Returns {ok, alert_id, message}. Do NOT use to watch a whole MARKET (use set_market_alert) or to save a new site (use save_site); this arms a monitor on ONE already-saved site. For multi-step data center or energy questions, start with execute_plan.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"saved_site_id": "<saved_site_id>",
"notify_email": "<notify_email>"
},
"name": "set_site_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | The points/MW move that fires the alert (default 5) | |
| notify_email | Yes | Email address the alert is sent to (required); without a full-access key, forced to your human's bound email. Confirm it with your human first. DC Hub keeps it and never sells or shares it | |
| trigger_type | No | What movement fires the alert: "dcpi_change" (default), "capacity_change", or "new_facility_nearby" | |
| saved_site_id | Yes | The saved_site_id returned by save_site or list_saved_sites (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||