Skip to main content
Glama

mechacut

date_tz_anchor

One wall clock, TWO clocks reading it: a naive timestamp WRITTEN against one zone (the job's/config's) and ANCHORED by a machine in another (usually a UTC box). Six production bugs measured in November 2026 share this shape: PraisonAI #4732 (naive at: silently stamped UTC, 'an hour or more off'; the fix itself used the offset in force NOW — an hour wrong across a DST change), Composio #4148 (offset + timezone both passed: event created shifted, never rejected), hermes-agent #1729, evoila/meho #2339 ('different but plausibly equivalent', 2 h in CEST), nanobot #408 (tz field never read). Feed stamp + meant_in + run_in: every candidate UTC instant, a SIGNED drift in minutes (positive = fires LATE), both wall clocks read back, single/fold/gap per zone DELEGATED to date/tz_ambiguity's engine (called, not copied). An offset in the stamp WINS (Composio's published resolution) and the naive re-anchor ships as the bug's shape, not the answer. stamped_offset replays the 'offset in force NOW' bug against the offset IN FORCE ON THAT DATE. Zones never guessed (both required for naive stamps), epoch refused by name, no clock read: the stamp IS the date. IANA via zoneinfo, past and future. 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_anchor"
  }
}

Input Schema

NameRequiredDescriptionDefault
stampNonaive wall clock '2026-11-02 09:00' or absolute '...T09:00:00Z' / '+05:30'
run_inNoIANA zone of the machine anchoring it (UTC is normal — that's the bug)
meant_inNoIANA zone the wall clock was written against (required for naive stamps)
stamped_offsetNothe '+HH:MM' your code stamped at write time — audited against the offset in force on the DATE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does substantial work: an offset in the stamp wins, the naive re-anchor is reported as the bug's shape rather than an answer, zones are never guessed (both required for naive stamps), epoch input is refused by name, no clock is read, and IANA via zoneinfo covers past and future. The single negative-space disclosure that it deliberately does not resolve ambiguity itself is notably useful. It stops short of describing error responses or the exact output structure.

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

Conciseness3/5

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

The opening sentence front-loads the core model, but the middle is a dense run-on crowded with issue numbers (#4732, #4148, #1729, #2339, #408) and quoted incident detail. Those references justify the tool's existence but cost many tokens for little invocation value. Trimming the bug catalogue would sharpen it without losing meaning.

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?

For a four-parameter tool with no annotations and no output schema, the description covers what the model needs: the required pairing for naive stamps, the precedence rule for offsets, the refusal of epoch, and what comes back (candidate UTC instants, signed drift, both wall clocks). The absence of an output schema is partly offset by the prose listing of outputs. Only the precise response shape and failure modes remain unspecified.

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 100%, so the baseline is 3, but the description adds meaning beyond it: stamped_offset is defined as an audit that replays the 'offset in force NOW' bug against the offset in force on that date, and meant_in is flagged as required for naive stamps. It also explains why run_in matters (the anchoring machine, 'UTC is normal — that's the bug'). This is genuine semantics on top of the schema rather than restatement.

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?

The description states a specific operation: take a naive wall clock written against one zone and anchored in another, then emit candidate UTC instants, a signed drift in minutes, and both wall clocks read back. That is a concrete verb and resource, and it explicitly distinguishes itself from date_tz_ambiguity by saying fold/gap classification is delegated there. The framing is indirect ('One wall clock, TWO clocks reading it') and takes work to decode, which keeps it below a 5.

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?

Usage is implied through the bug-shape framing (a stamp plus the zone it was meant in plus the anchoring machine) rather than stated as a condition: 'Feed stamp + meant_in + run_in' shows the input situation that selects this tool. It also names a sibling, date_tz_ambiguity, for fold/gap classification, which is real routing guidance. There is no explicit when-not or comparison to date_tz or date_civil, leaving the agent to infer the boundary.

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.