Skip to main content
Glama

Tanod Util

utilpeek: convert a time between IANA time zones

convert_time
Read-onlyIdempotent

utilpeek: convert one instant between time zones. Input: to_tz, optional time and from_tz. Returns utc, unix, the input view (with ambiguous / nonexistent) and one conversions row per zone {timezone, time, date, weekday, utc_offset, abbreviation, dst}. Zones come from the pinned IANA tz database (tzdata package), not the host; a wall time in a DST gap or fold is flagged nonexistent / ambiguous; a time with an offset plus from_tz is a 422. An unknown zone or a malformed time is a 422 (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/timezone-converter-api.html

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeNoOptional ISO 8601 date-time or Unix seconds (default now).
to_tzYes1-20 IANA time zones to convert to.
from_tzNoOptional IANA zone of a time WITHOUT an offset (default UTC).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
utcNo
unixNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
inputNo
sourceNo
conversionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "conversions": {
      +      "items": {
      +        "properties": {
      +          "abbreviation": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "dst": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "time": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "timezone": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utc_offset": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "utc_offset_seconds": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "weekday": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "input": {
      +      "properties": {
      +        "abbreviation": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "ambiguous": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "date": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "dst": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "nonexistent": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "time": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "timezone": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "utc_offset": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "utc_offset_seconds": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "weekday": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "properties": {
      +        "library": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "license": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "tzdata": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "unix": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "utc": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources