Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Time zone and UTC offset at a point

astroway_geo_timezone
Read-onlyIdempotent

The IANA zone at a point and the UTC offset its clocks kept at that local date and time, from the tz database, never a fixed offset: Kyiv answers +2 in January, +3 in July and +4 on 15 May 1990, when it kept Moscow summer time. time defaults to 12:00 and matters on the day clocks change; a skipped hour resolves to the offset from before the change, a repeated one to its first occurrence. standardOffset is the smaller of the year's offsets and isDst is true when the clock is ahead of it.

[Group: Astro-Geography] [Endpoint: GET /v1/geo/timezone] [Required: lat, lon] [Cost: 5 credits (Tier ½)]

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "astroway_geo_timezone"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in decimal degrees, north positive.
lonYesLongitude in decimal degrees, east positive.
dateNoLocal calendar date `YYYY-MM-DD` at the point. Defaults to today (UTC).
timeNoLocal clock time `HH:MM` or `HH:MM:SS`. Matters only on the day clocks change.12:00
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
precisionNoRound numbers to this many decimals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / fields / description
      Previous value: -"Compact mode: comma-separated dotted paths to keep, relative to `data`, e.g. \"planets.name,planets.longitude,houses.cusp\". Omit for the whole response."New value: +"Comma-separated paths inside `data` to keep, e.g. \"planets.name,houses.cusp\"."
    • changedInput schema / properties / precision / description
      Previous value: -"Compact mode: round fractional numbers to this many decimals. Longitudes carry 14 by default; 2 is finer than any chart is drawn."New value: +"Round numbers to this many decimals."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "date": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "isDst": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "latitude": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "longitude": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "nautical": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "standardOffset": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "time": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "timezone": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "utcOffset": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "utcOffsetText": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds real behavioral content the annotations cannot: the tz database as source, the rule that a skipped hour resolves to the pre-change offset and a repeated hour to its first occurrence. It stops short of noting whether the lookup is cached or how historic dates far in the past behave.

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 core statement is front-loaded in the first clause, and the Kyiv illustration earns its place by demonstrating the non-fixed-offset behavior. It is dense but nearly every sentence carries information; the trailing standardOffset/isDst definition could be tightened.

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 pre-explains return fields (standardOffset, isDst) and the timezone edge-case rules, which is what an agent needs for this single-point lookup with only two required params. Minor gap: the generic `fields` and `precision` params are left to the schema.

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%, so lat/lon/date/fields/precision semantics are already documented and the baseline is 3. The description does add meaning for `time` (default 12:00, relevant only on clock-change days, with the skipped/repeated-hour resolution rule), but it says nothing extra about `date`, `fields`, or `precision`.

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?

States a specific verb+resource: the IANA zone and the UTC offset its clocks kept at a given point and local date/time, sourced from the tz database. The concrete Kyiv example (+2 January, +3 July, +4 on 15 May 1990) makes it unmistakable and clearly separates it from the ACG/relocation siblings.

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?

Usage is implied rather than stated: the description clarifies that the result is never a fixed offset and that `time` only matters on the day clocks change, which guides callers on when precision is needed. However, it never says when to prefer this over a sibling like astroway_geo_acg or relocation, nor does it state prerequisites beyond the required lat/lon.

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