Skip to main content
Glama

Date / timestamp converter

date_convert
Read-onlyIdempotent

Convert a date between ISO 8601, Unix seconds, Unix milliseconds, RFC 2822/HTTP, and IANA time zones; omit the value to return the current time.

Instructions

Convert a date between ISO 8601, Unix seconds, Unix milliseconds, RFC 2822/HTTP and a chosen time zone. Omit the value for "now". (Same as IT-Tools /date-converter.)

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_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNoISO date, Unix seconds or ms, or any Date-parsable string; default now
timeZoneNoIANA zone for the local rendering, e.g. "America/New_York"UTC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world scope, so safety behavior is fully covered. The description adds the format list and the "now" default, but both are largely echoed by the schema ("ISO date, Unix seconds or ms, or any Date-parsable string; default now") and by the title, so genuine new behavioral context is thin.

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 tightly written sentences with the capability front-loaded and the edge case (omitting the value) immediately after. The parenthetical provenance is short and earns its place by anchoring expected behavior.

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 two-parameter, zero-required, closed-world conversion utility, the definition plus annotations give an agent enough to call it correctly. The only mild gap is not indicating which representations are returned, but with no output schema and an obvious symmetry to the input formats, that is a minor omission.

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 description coverage is 100%, so both parameters, including the IANA zone example and the UTC default, are already documented. The description's phrase "a chosen time zone" adds nothing the schema does not already say; baseline 3 applies.

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?

The description names a specific verb (Convert) and resource (a date) and enumerates the concrete formats involved: ISO 8601, Unix seconds, Unix milliseconds, RFC 2822/HTTP, plus a target time zone. No sibling tool handles dates, so there is no confusion to resolve, and the IT-Tools reference pins down the exact semantics.

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?

It gives a clear operational instruction for the no-argument case ("Omit the value for 'now'"), which is the main ambiguity for a zero-required-parameter tool. It does not state when to prefer another tool or any preconditions, but there is no plausible alternative in the sibling set.

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