Skip to main content
Glama

ScorpTech x402 Tools

Timezone Convert

timezone_convert
Read-onlyIdempotent

Convert a time between IANA time zones with DST awareness: local time, UTC offset, abbreviation and DST flag on both sides, the offset difference and day shift, and each zone's next DST/offset transition (when, which way, how much). Flags nonexistent (spring-forward gap) and ambiguous (fall-back) wall times. Accepts ISO 8601, HH:MM, epoch seconds/milliseconds or "now"; up to 10 target zones. Offline (PHP's bundled tz database). Returns JSON with: interpretedAs, utc, epoch, from, to, offsetDifference, dayShift, notes. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/timezone-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": {
      "to_zone": "<to_zone>"
    },
    "name": "timezone_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoISO 8601 (2026-03-08T02:30:00, optional Z or +01:00), HH:MM (today), epoch seconds or milliseconds, or "now" (default)
to_zoneYesTarget IANA zone, or a comma list of up to 10. Alias: to
from_zoneNoIANA zone the input wall time is in (default UTC); also accepts fixed offsets like +05:30. Alias: from

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?

Going well beyond the readOnly/idempotent annotations, it discloses that the tool runs offline against PHP's bundled tz database and explicitly flags nonexistent spring-forward and ambiguous fall-back wall times — a meaningful behavioral caveat. It also states the x402 pricing model and an HTTPS alternative endpoint. The only gap is that the exact error behavior when a zone name is invalid is not described.

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?

Dense but front-loaded: core behavior, edge-case handling, return fields, then commercial/transport details in a logical order. The pricing and URL sentence is long but genuinely useful to the caller, so no sentence is purely wasteful, though the block is close to overloaded for a single paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 enumerates the returned JSON fields (interpretedAs, utc, epoch, from, to, offsetDifference, dayShift, notes), so an agent knows exactly what comes back. Combined with the DST edge-case notes and offline execution model, nothing essential for correct invocation is 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%, with each of the three parameters already documented including defaults and aliases. The description echoes the accepted input formats and the 10-zone cap, which the schema also states, so it adds little new meaning beyond the structured data. Baseline 3 applies.

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?

The description opens with a specific verb and resource: converting a time between IANA time zones with DST awareness. Scope details (multi-zone output, both-side offsets, next transition) make the capability unmistakable. It stops short of naming a sibling such as timestamp_convert, so differentiation is inferred rather than stated.

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?

Useful context is implied: 'now' is the default input, epoch values are accepted, and up to 10 target zones are allowed. However, there is no explicit statement of when to choose this over timestamp_convert or a plain offset calculator, and no exclusions or prerequisites beyond the input formats.

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