get_facility_risk_delta
Shows how a facility's market risk has changed recently using DCPI health delta over a user-defined period.
Instructions
Use when a user asks what has CHANGED in a facility's (or its market's) risk profile recently — "has this site gotten riskier lately?", "which way is this market moving?" — a temporal question static-trained models can't answer. Returns the REAL DCPI market-health delta (excess-power score change over the window, direction improving/worsening/flat) from DC Hub's history-preserving daily snapshots. INTEGRITY: only DCPI market-health has a short-term temporal series; the site-hazard dimensions (FEMA disaster / USGS seismic / NOAA climate / WRI water) are DECLARED static (they don't change week-to-week) with a pointer to the point-in-time tool — never a fabricated week-over-week delta; no snapshot history → coverage:unavailable. Params: facility_id (a discovered-facility id or slug) OR market (a market name/slug), since (e.g. "7d"/"30d", default 7d). Returns {facility, dcpi_market_health:{delta, now, direction, coverage}, static_dimensions{...}, summary}. For the current point-in-time risk (not the change) use get_composite_site_score / get_disaster_risk / get_climate_intel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Look-back window, e.g. "7d" or "30d" (default 7d) | |
| market | No | Alternatively, a market name or slug (e.g. "northern-virginia") | |
| facility_id | No | A DC Hub facility id or canonical slug to resolve the market context |