score_device_health
Score the health of a specific device-datasource instance using z-score analysis of historical metrics to detect anomalies, with optional datapoint weights and custom time windows.
Instructions
Score health of a specific device-datasource instance using z-score analysis. For full device health reports across all datasources, use the health_check composite tool instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weights | No | Optional dict of datapoint_name -> weight | |
| device_id | Yes | Device ID | |
| datapoints | No | Comma-separated datapoint names (all if omitted) | |
| hours_back | No | Hours of historical data for baseline | |
| instance_id | Yes | Instance ID | |
| device_datasource_id | Yes | Device-DataSource ID |