Skip to main content
Glama

get_time_sync_logs

Read-onlyIdempotent

Retrieve bounded, redacted journald logs for a specified time-sync service to diagnose clock sync issues, using timezone-aware since/until filters capped at seven days.

Instructions

Read bounded, redacted journald entries. since/until: timezone-aware ISO8601, at most 7 days; default last hour. Journal permission may restrict evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
serviceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
errorNo
sourceYes
statusNovalid
warningsNo
measurementsNo
schema_versionNo1.0
observed_at_utcNo
measurement_kindNoobserved

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description wisely spends its words elsewhere: it discloses that output is redacted and bounded, and that journal permissions may restrict the evidence returned. That permission caveat is a real behavioral trait an agent could not infer from annotations.

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 short sentences, zero filler; the core operation comes first and the temporal constraints follow. Every clause carries information an agent needs.

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

Completeness4/5

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

Output schema exists, so return values need no explanation, and annotations cover safety. Bounds, time format, defaults, and a permission caveat are all present; only the limit parameter and what 'redacted' concretely strips are left unstated.

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?

Schema coverage is 0%, so the description must compensate, and it does so well for since/until: timezone-aware ISO8601, max 7-day window, one-hour default. It says nothing about limit (default 100, max 500) or the service enum, but the enum values are self-descriptive, leaving only a minor gap.

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

Purpose4/5

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

States a specific verb and resource ('Read ... journald entries') and qualifies it as 'bounded, redacted', which separates it from status-oriented siblings like get_chrony_status or get_ptp_status. It does not explicitly name a sibling, but the log-retrieval scope is unmistakable.

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

Usage Guidelines3/5

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

Gives concrete defaults ('default last hour') and a hard bound ('at most 7 days') that imply when the tool is appropriate, but never says when to prefer this over inspect_time_services or a status tool. Usage is implied rather than prescribed.

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