Skip to main content
Glama

util_timestamp

Read-only

Timestamp converter — Convert between Unix time and ISO dates: pass unix seconds, unix milliseconds or any ISO date and get unix, unixMs, ISO 8601, UTC string, day of week and a relative phrase. With no value it returns the current time. Price: $0.001 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
valueNooptional: unix seconds, unix ms, or an ISO date (default now)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false), so the description's job is to add context — which it does by disclosing the exact result shape and the default-now behavior. The explicit cost disclosure ("Price: $0.001 USDC (Base, via x402)") is the kind of payment/quota detail structured fields cannot convey. It falls short of 5 because it says nothing about how ambiguous values are resolved or what an invalid input returns.

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?

One front-loaded sentence carries the conversion contract, the default behavior, and the output list, with the pricing appended last. The output-field enumeration is list-like but each item is genuinely useful since no output schema exists. Negligible waste.

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 must enumerate return values, and it does so completely enough for an agent to parse the result. For a low-complexity, single-optional-param converter this is nearly sufficient; only the ambiguity/error behavior is unaddressed.

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 coverage is 100% and the single parameter's schema description already lists unix seconds, unix ms, and ISO date with the default of now. The description's phrasing largely restates that, and its extra detail is about outputs rather than inputs, 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?

"Convert between Unix time and ISO dates" is a specific verb plus resource, and the sentence immediately enumerates accepted inputs (unix seconds, unix ms, ISO date) and returned fields (unix, unixMs, ISO 8601, UTC string, day of week, relative phrase). That makes it unmistakable against generic siblings like util_convert or util_calc without needing to open 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It does state the argument-free behavior ("With no value it returns the current time"), which is real when-to-omit guidance. However, it never says when to prefer this over util_convert for general date/unit conversions, and gives no guidance on failure cases such as ambiguous numeric strings.

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