Version: 1.0.0
Purpose: Identifying dangers before they hit. How to set up monitoring and what to watch.
Tool names below are from the
structs-desktopMCP catalog (seeTOOLS.md):structs_eventsis the long-poll feed for raids/attacks/fleet moves;structs_intelcovers scouting, planet history, valid targets, and power forecasts;structs_querylooks up any single entity (named in the Check column);structs_actionruns preflight checks.
Threat: Hostile fleets approaching your planet or allied planets.
| Monitor | MCP Tool | Frequency |
|---|---|---|
| Planet activity | structs_intel |
Every 5–10 min during active play |
| Fleet arrivals | Subscribe to structs.planet.{id} (NATS) |
Real-time |
| Nearby players | structs_intel + structs_query |
When scouting |
Signals: fleet_arrive, fleet_advance events. Unknown fleet at your planet = potential raid.
Threat: Ore in bunkers or miners is stealable. Raiders target planets with high stored ore.
| Monitor | MCP Tool | Threshold |
|---|---|---|
| Stored ore | structs_query (Ore Bunker, Miner) |
Any > 0 is exposure |
| Planet activity | structs_intel |
Recent raids, attacks |
Rule: Refine immediately. Use struct-ore-refinery-complete as soon as ore is available. Zero unrefined ore = nothing to steal.
Threat: Load approaching capacity. One more struct or one struct coming online = offline = halt.
| Monitor | MCP Tool | Threshold |
|---|---|---|
| Power headroom | structs_query |
availablePower < 20% of total capacity |
| Pending structs | structs_intel |
Structs in “building” state |
Signals: Building struct completing, reactor defusion, agreement expiring. Use structs_intel before any load change.
Threat: Guild wars, raids on allies, diplomatic shifts.
| Monitor | MCP Tool | What to Watch |
|---|---|---|
| Guild relations | structs_query |
Hostile guilds, war status |
| Guild power | structs_query |
Member count, capacity changes |
| Planet activity | structs_intel |
Raids on guild planets |
Threat: Planet running out of ore. No ore = no mining = no Alpha Matter = stagnation.
| Monitor | MCP Tool | Threshold |
|---|---|---|
| Planet ore | structs_query |
Remaining ore vs maxOre |
| Miner output | structs_query (Miner) |
Production rate |
Action: Plan exploration when planet nears empty. Must empty current planet (0 ore) before exploring.
structs_query — Power, halted statusstructs_query (Ore Bunker) — Stored ore levelSubscribe to NATS subjects:
structs.planet.{planetId} — Raids, fleet arrivals, struct healthstructs.struct.{structId} — Struct status, attacksstructs.fleet.{fleetId} — Fleet movementstructs_action — Pre-check build, attack, raidstructs_intel — Before adding loadstructs_intel — Before attackingSee Priority Framework for full decision hierarchy.
patterns/polling-vs-streaming.md — When to poll vs stream