get_time_sync_status
Check NTP/Chrony synchronization status to diagnose clock drift. Provides service state, sync status, system and RTC time, stratum, and last offset.
Instructions
Returns NTP/Chrony sync state: service, sync status, system and RTC time, stratum, and last offset. Read-only via timedatectl and chronyc; failures are non-fatal (errors field). Use for clock-drift diagnosis.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_time_sync_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| stratum | No | ||
| rtc_time | No | ||
| ntp_enabled | Yes | ||
| ntp_service | Yes | ||
| sync_status | Yes | ||
| time_server | No | ||
| last_sync_ms | No | ||
| chrony_present | Yes | ||
| ntpdate_present | Yes | ||
| system_clock_utc | Yes |