Skip to main content
Glama

Normalize mixed timestamps

normalize_timestamps
Read-only

Convert up to 100 mixed timestamps (ISO 8601, RFC 2822, Unix seconds/ms/us/ns, slash dates, short date phrases) to UTC and local ISO 8601, flagging ambiguous day/month order.

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": {
      "values": "<values>"
    },
    "name": "normalize_timestamps"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage of the text. en reads 03/04 as March 4; en-GB as 3 April. Default en.
valuesYes
timezoneNoIANA time zone for reading and reporting local times, e.g. "America/Denver". Default UTC.
referenceNoISO 8601 date or date-time that relative phrases are resolved against (e.g. "2026-11-11T09:00:00-07:00"). Default: current server time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive and non-open-world; the description adds the 100-item batch cap and the ambiguity-flagging behavior, which are real traits beyond the structured fields. It does not explain why idempotentHint=false (relative phrases default to server time, so repeated calls can differ), which would be the highest-value disclosure here.

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?

A single sentence that front-loads the verb and the batch limit, then packs formats and outputs without filler. Nothing is repeated from the schema or annotations.

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?

With no output schema, the description does the right thing by describing the return shape (UTC plus local ISO 8601) and the ambiguity flag. For a four-parameter tool with a 100-item cap, only the non-idempotency implication and the exact shape of the flagged result 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 75% and the values array itself is undocumented in the schema, so the description carries real weight by naming the accepted string and numeric timestamp families that can appear in that array. The locale, timezone and reference parameters are already explained in the schema, so no repetition penalty applies, but the day/month flag semantics could have been tied to locale more explicitly.

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?

A specific verb (convert) plus resource (mixed timestamps) with an explicit inventory of accepted input formats and output forms (UTC and local ISO 8601). That format inventory implicitly separates it from extract_dates and resolve_date, but no sibling is named the way a 5 would require.

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?

The format list implies when the tool applies (heterogeneous timestamp cleanup), but there is no explicit when-to-use versus extract_dates or resolve_date guidance, no prerequisites, and no stated exclusions. The agent must infer the routing decision from the tool names alone.

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