Skip to main content
Glama

get_time_sync_status

Checks NTP/Chrony synchronization state, including service status, system/RTC time, stratum, and last offset. Diagnose clock drift with read-only timedatectl and chronyc data.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorsNo
stratumNo
rtc_timeNo
ntp_enabledYes
ntp_serviceYes
sync_statusYes
time_serverNo
last_sync_msNo
chrony_presentYes
ntpdate_presentYes
system_clock_utcYes
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden and does so excellently. It discloses that the tool is read-only (via timedatectl and chronyc), and that failures are non-fatal with an 'errors' field, giving the agent important behavioral expectations without needing to invoke the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences efficiently convey the core purpose, return contents, implementation mechanism, error handling, and intended usage. No wasted words, and the main function is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-parameter, read-only tool, the description is complete. It lists return fields (including the 'errors' field), explains the tools used, and gives a use case. The presence of an output schema further reduces the need to describe return values in detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, so the schema fully covers the parameter aspect. The description adds no parameter details, but that is not needed; per the rubric, the baseline for 0 params is 4. It correctly focuses on outputs and behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Returns') and resource ('NTP/Chrony sync state'), listing distinct data items (service, sync status, times, stratum, offset). This clearly differentiates it from sibling 'get_*' tools, none of which focus on time synchronization.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states the use case ('Use for clock-drift diagnosis'), providing clear context. However, it does not mention alternatives or when not to use, as there are no close sibling tools for time sync, so no exclusion is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mohabdo21/linux-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server