Skip to main content
Glama

mechacut

date_tz_ambiguity

Does this LOCAL wall clock exist — and how many times? Give a zone and a wall clock (no offset; the offset is what is ambiguous) and get the named verdict: single (one UTC instant), fold (the wall clock happens TWICE — both instants with offset and abbreviation, PEP 495 fold rule stated), or gap (it NEVER happens — last valid and first valid wall clocks named). Transition minute, affected window and direction computed live from the installed IANA tzdata via zoneinfo — no embedded table, no fetch. Built for cron/scheduler questions the Nov 2026 incidents made concrete: K8s CronJob double-ran '30 1 * * *', cron 4.4.0 re-fired the hour AFTER the repeat, wildcard entries fire once per wall pass. Free.

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": "date_tz_ambiguity"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneNoIANA zone, e.g. America/New_York (never guessed)
localNowall clock with no offset: '2026-11-01 01:30' or ISO with T

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly delivers: it discloses the computation source (live IANA tzdata via zoneinfo), that there is 'no embedded table, no fetch', the PEP 495 fold rule, and exactly what each verdict returns (both instants with offset and abbreviation; last/first valid wall clocks for a gap). Unstated are the read-only/no-side-effect profile and error handling for an unrecognized zone, which matters since both params are optional.

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 the question it answers and the verdict vocabulary before any justification, so an agent can act on the first clause. It is dense rather than padded, though the incident narrative and the trailing 'Free.' cost a little against a purely functional framing.

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?

There is no output schema, but the description compensates by enumerating the returnable verdicts and their payloads (instants, offsets, abbreviations, PEP 495 rule, last/first valid clocks, transition minute, window, direction). For a two-string computation tool that is complete enough to call and interpret correctly, with only missing-parameter behavior left implicit.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents zone and local, and the description only adds the rationale that the offset is deliberately excluded because it is the ambiguous quantity. It does not explain the accepted formats beyond the schema's examples, nor what happens when either optional parameter is omitted.

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?

States a precise verb+resource: determines whether a local wall clock exists and how many times, with named verdicts (single / fold / gap). The parenthetical contrast 'give a zone and a wall clock (no offset; the offset is what is ambiguous)' separates it from a plain zone-conversion sibling like date_tz without needing to name it.

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?

Usage context is explicit and concrete: 'Built for cron/scheduler questions', with the K8s CronJob double-run and cron re-fire examples showing exactly the class of problem it answers. It stops short of naming an alternative and the condition that selects it (e.g. 'if you already have an offset, use date_tz'), so it is clear context without explicit routing.

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.