Skip to main content
Glama

Lookup Kit

unix_time

Read-only

Unix timestamp converter, epoch time to date and date to epoch. Convert a Unix timestamp (seconds or milliseconds) to a date, or a date (ISO 8601) to a Unix timestamp. With no input, returns the current Unix time. Optional zone shows the local time too. Price: $0.001 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
zoneNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the accepted input types (seconds or milliseconds, ISO 8601), the zero-input default, the optional zone behavior, and the $0.001 x402/USDC cost, which matters before invoking.

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 core purpose, then modes, then pricing, in a compact block. The opening 'epoch time to date and date to epoch' duplicates the following sentence and could be trimmed, but nothing else is wasted.

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?

A read-only, 2-optional-parameter converter with no output schema still gets its modes, input formats, and default behavior described. What is missing is the shape of the returned value for conversions (e.g., ISO 8601 string vs. epoch seconds) and accepted zone identifier syntax, which the agent would otherwise have to discover by calling.

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 description coverage is 0%, so the description has to carry the parameter meaning and largely does: 'value' is explained as either a Unix timestamp in seconds/milliseconds or an ISO 8601 date, and 'zone' is described as an optional local-time display. It does not mention the 40/64 character limits or the expected zone identifier format (e.g., IANA name).

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?

States a specific verb (convert) and resource (Unix timestamp / epoch date) and covers both directions plus the no-input default, so the agent can identify it without opening the schema. Sibling differentiation is only implicit (the 'current Unix time' default hints at how it differs from local_time/time_convert) and no alternative is named.

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 description implies usage through its three modes: convert a timestamp, convert a date, or omit input to get the current time. However, it gives no explicit when-to-use vs. when-not-to-use guidance and does not reference the sibling time tools that could be confused with it.

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