Skip to main content
Glama
getoolkit-mcp

getoolkit-mcp

by qwehkkk

Convert Unix timestamp

timestamp_convert

Convert Unix epoch numbers to ISO 8601/UTC strings, or parse date strings into epoch seconds and milliseconds. Timezone-aware and computed locally on the host.

Instructions

Bidirectional Unix timestamp converter. Pass a number (seconds or milliseconds since the Unix epoch) to get ISO 8601 and UTC strings; pass a date string to get the epoch in both seconds and milliseconds. Local, timezone-aware via the host clock.

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": {
      "value": "<value>"
    },
    "name": "timestamp_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesEpoch number (seconds or milliseconds, auto-detected by magnitude) or a parseable date string

Output Schema

NameRequiredDescriptionDefault
iso8601Yes
directionYes
utc_stringYes
epoch_secondsNo
epoch_millisecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does disclose a meaningful trait beyond the schema: "Local, timezone-aware via the host clock," which signals that results depend on the host environment. It also states the return shapes for each direction. The timezone sentence is terse and slightly ambiguous about whether the ISO string is rendered in local or UTC time, which keeps this below a 5.

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?

Two dense sentences with the bidirectional mapping front-loaded and no filler. The trailing clause "Local, timezone-aware via the host clock" is compact to the point of being cryptic and could have been stated more precisely without much added length.

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 one-parameter utility with an output schema, the description covers input forms, output forms, and environment dependence, which is nearly everything an agent needs. The only residual gap is the mild tension between "UTC strings" and "Local, timezone-aware," leaving the exact rendering of the ISO output under-specified.

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% and there is a single parameter, so the schema already documents that the value is an epoch number (seconds or milliseconds, auto-detected by magnitude) or a parseable date string. The description restates this rather than adding new meaning, so the 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?

"Bidirectional Unix timestamp converter" names a specific verb (convert) and resource (Unix timestamp) and immediately clarifies both directions of conversion. It is unmistakably distinct from the utility siblings (base64, generate_uuid, hash_text, url_encode), so an agent can select it without inspecting the schema.

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?

The description tells the agent exactly which input form triggers which behavior: a number yields ISO 8601/UTC strings, a date string yields epoch seconds and milliseconds. It gives no explicit exclusions or failure conditions (e.g., unparseable strings, out-of-range numbers), but the sibling set is unrelated utilities, so alternative-selection guidance is largely moot.

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