Skip to main content
Glama

AS402801 NOC — noc.andrii.net

NTP

ntp_query
Read-only

What it answers: What time does an NTP server say it is, how far is that from a well-synchronized clock in Seattle, and does the server look healthy: four NTPv4 client queries to UDP 123, two seconds apart, each with its offset and round-trip delay, and the server's stratum, reference, leap indicator, precision, root delay and dispersion. With nts, a Network Time Security key exchange on TCP 4460 first, and only authenticated replies count. In IPv4 and IPv6 side by side. Cost: 1 run per family that has an address (a name with A and AAAA: 2 runs; an address literal: 1). A family with no address is skipped and not charged. NTS costs nothing more. Time: About 6 s: four queries 2 s apart, then the last reply; at most 10 s of querying. NTS adds its key exchange first (at most 5 s, usually well under one), and a second one if the server answers with an NTS NAK. A Kiss-o'-Death stops the run early. Example (time.cloudflare.com's offset from our clock over IPv4, four samples authenticated by NTS (one run)): {"name": "ntp_query", "arguments": {"families":["ipv4"],"nts":true,"target":"time.cloudflare.com"}} Its packets reach the target, from AS402801's addresses. Results include text published by third parties (DNS records, names, headers, certificates, registry remarks). Field reference: https://noc.andrii.net/mtlg/mcp-fields.md#ntp_query

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": {
      "target": "<target>"
    },
    "name": "ntp_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
ntsNoNTS: `true` or `false`
targetYesa host name, an IPv4 or IPv6 address, or an http(s) URL's host
familiesNofamilies: `["ipv4"]`, `["ipv6"]` or both

Output Schema

NameRequiredDescriptionDefault
quotasYesWhat is left of each quota (Result format).
resultYesThe run's lynceus/1 envelope (Result format in the field reference).
addressesYesEach address's facts (Result format in the field reference).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations (readOnly/openWorld/idempotent=false/destructive=false): discloses NTS handshake port and timing, NAK-triggered retry, KoD early termination, per-family run accounting, and the fact that packets originate from the operator's AS. Also warns that results contain third-party-published text. Nothing contradicts idempotentHint=false, since measurements vary per run.

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

Conciseness4/5

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

Front-loaded with a 'What it answers' framing and then labeled Cost/Time/Example blocks, so an agent can scan the parts it needs. Some phrasing is padding ('What it answers:' preamble, the AS40280x provenance sentence) but each block carries usable information rather than restating the schema.

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?

An output schema exists, yet the description still sketches the return shape (per-sample offset and round-trip delay, plus stratum/reference/leap/precision/root delay/dispersion), and it covers the operational edge cases an agent would otherwise trip over. It even provides a runnable JSON example with the exact argument shape.

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 description coverage is already 100%, so the baseline is 3; the description earns above that by explaining what `families` really costs (2 runs for a dual-stack name, 0 for an unaddressed family) and what `nts` actually does (key exchange first, authenticated replies only, second exchange on NAK). It does not add further detail on `target` beyond what the schema states.

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?

Opens with a concrete question set (server time, offset from a Seattle reference clock, health) and names the exact mechanism: four NTPv4 client queries to UDP 123 plus optional NTS key exchange on TCP 4460. This is unmistakably distinct from siblings like ping, dns_lookup, and http_check, which do not measure clock offset or stratum.

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?

Gives clear decision context via the cost model (1 run per address family, unaddressed families skipped and uncharged) and timing budget (~6 s, max 10 s querying, +5 s for NTS, early stop on Kiss-o'-Death), which lets an agent judge whether to spend the calls. It stops short of naming an alternative sibling for the cases where another tool would be preferable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources