Skip to main content
Glama

ScorpTech x402 Tools

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. Returns JSON with: input, detected, unix, unixMs, unixUs, iso8601, rfc2822, httpDate. Price: $0.001 USDC per successful call (x402, Base or 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

A4.2/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, it discloses automatic format detection, optional decoding, a $0.001 USDC charge only for successful calls, x402 payment on Base or Solana, and an HTTPS alternative. The JSON field list also makes the externally visible result more concrete in the absence of an output schema.

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?

The purpose is front-loaded, and the pricing and endpoint statements are compact. The opening sentence is nevertheless overloaded with input and output lists, while the later JSON list partially repeats that material without covering every advertised output.

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 three-parameter conversion tool with no output schema, this supplies most invocation essentials: formats, zone-aware rendering, core result keys, cost, and transport. It leaves the keys and request mechanism for several advertised extras unclear and gives no error or unsupported-input behavior.

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?

Although all three parameters are already described in the schema, the description adds the full auto-detection behavior across numeric precisions and calendar formats and connects the Snowflake modes to Discord/Twitter ID decoding. It adds little about tz beyond IANA-zone support, and “when asked” does not clearly explain how optional outputs are requested.

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?

“Convert any timestamp” supplies a specific verb and resource, while the detailed format and output list clarifies scope, including Snowflake ID decoding. It does not explicitly distinguish itself from siblings such as timezone_convert, so it stops short of top marks.

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 supported input types, local-time rendering, and optional Discord/Twitter Snowflake decoding make the intended use cases clear. It provides no exclusions or sibling routing and does not explain when an agent should override auto-detection with an explicit unit.

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