Skip to main content
Glama

Timestamp Convert

timestamp_convert
Read-onlyIdempotent

Convert any timestamp: auto-detects Unix seconds / milliseconds / microseconds / nanoseconds, ISO 8601 / RFC 3339, RFC 2822, HTTP dates, Excel serial dates and "now", and returns all of them plus local time in any IANA time zone, ISO week, day of year, Julian day, a relative "3 days ago" phrase and Snowflake-style IDs decoding (Discord/Twitter) when asked. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/timestamp-convert

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
tzNoIANA zone for the local renderingUTC
unitNoHow to read a numeric valueauto
valueYesTimestamp: 1767225600, 1767225600123, 2026-01-01T00:00:00Z, Thu, 01 Jan 2026 00:00:00 GMT, 46023.5 (excel), now

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds materially to it: a per-call price of $0.001 USDC via x402/Solana, meaning the call is a paid, potentially network-bound operation, plus a same-tool HTTPS endpoint alternative. It stops short of disclosing error/failure behavior for unparseable values, so 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability is front-loaded in the first clause, which is good, but the whole thing is a single ~110-word run-on sentence mixing format list, return list, and pricing/marketing ('Price: $0.001 USDC...'). It is dense enough that an agent has to parse past commercial boilerplate to reach the capability statement.

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 usefully enumerates return fields (all parsed forms, local time, ISO week, day of year, Julian day, relative phrase) so an agent knows what comes back. Combined with the pricing payment-path disclosure, it is largely complete for a read-only conversion tool; only error semantics for ambiguous/invalid values are missing.

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 each parameter already has a description with an example, so the schema does the heavy lifting. The description adds marginal mapping — 'local time in any IANA time zone' to tz and 'Snowflake-style IDs (Discord/Twitter) when asked' to the unit enum — but repeats the value examples verbatim and adds no syntax or precedence rules (e.g. what happens when unit=auto vs an explicit unit conflicts with the literal).

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 and resource ('Convert any timestamp') and enumerates the exact input formats it parses plus the derivations it returns, which is far beyond restating the name. It does not name any sibling (e.g. timezone_convert or date_calc), so an agent facing overlapping tools gets no explicit differentiation, keeping it at 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance and no mention of alternatives, even though siblings like timezone_convert and date_calc overlap on parts of the job. The only routing hint is the vague 'when asked' for Snowflake ID decoding, which is a behavioral qualifier rather than usage guidance.

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