get_isp_metrics
Retrieve ISP performance metrics including latency, download/upload speed, uptime, and packet loss across all UniFi sites, with customizable granularity from 5-minute to hourly data.
Instructions
Get ISP performance metrics across all sites.
Returns latency, download/upload speed, uptime, and packet loss data. 5-minute metrics are available for 24h, 1-hour metrics for 30 days.
Args: metric_type: Interval granularity - "5m" for 5-minute or "1h" for hourly. duration: Lookback duration ("24h", "7d", "30d"). Cannot be used with timestamps. begin_timestamp: Start time in ISO 8601 format. Use with end_timestamp. end_timestamp: End time in ISO 8601 format. Use with begin_timestamp.
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": {
"metric_type": "<metric_type>"
},
"name": "get_isp_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| metric_type | Yes | ||
| end_timestamp | No | ||
| begin_timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |