Skip to main content
Glama

AstroWay Astrology API (full catalogue)

True solar time

astroway_chinese_true_solar_time
Read-onlyIdempotent

The clock corrected to the sun over the birth longitude, split into the meridian term and the equation of time. China runs one zone across sixty degrees, so a Kashgar birth reads nearly three hours from solar noon on a Beijing clock, which moves the hour pillar.

[Group: Chinese: Zodiac & Feng Shui] [Endpoint: POST /v1/chinese/true-solar-time] [Required: date, time, timezoneOffset, longitude] [Cost: 10 credits (Tier 1)]

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": {
      "date": "<date>",
      "time": "<time>",
      "timezoneOffset": "<timezoneOffset>",
      "longitude": "<longitude>"
    },
    "name": "astroway_chinese_true_solar_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
timeYes
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
languageNo
timezoneNoIANA zone (Europe/Kyiv) or "auto" from latitude/longitude; replaces timezoneOffset. Before 1970 prefer timezoneOffset.
longitudeYes
precisionNoRound numbers to this many decimals.
timezoneOffsetYesIgnored when timezone is sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 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."
    • changedInput schema / properties / timezone / description
      Previous value: -"IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known."New value: +"IANA zone (Europe/Kyiv) or \"auto\" from latitude/longitude; replaces timezoneOffset. Before 1970 prefer timezoneOffset."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "clockTime": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "date": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "dayShift": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "equationOfTimeMinutes": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "hourBranchNote": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "input": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "longitude": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "time": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "timezoneOffset": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "longitudeCorrectionMinutes": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "methodology": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "source": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "totalCorrectionMinutes": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "trueSolarTime": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed23 schema fields changed
    • removedOutput schema / properties / clockTime / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / clockTime / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / dayShift / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / dayShift / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / equationOfTimeMinutes / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / equationOfTimeMinutes / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / hourBranchNote / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / hourBranchNote / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / input / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "date": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "longitude": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "time": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "timezoneOffset": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "longitude": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "time": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "timezoneOffset": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / longitudeCorrectionMinutes / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / longitudeCorrectionMinutes / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / methodology / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / methodology / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / source / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / totalCorrectionMinutes / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / totalCorrectionMinutes / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / trueSolarTime / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / trueSolarTime / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. Beyond that the description discloses cost (10 credits, Tier 1), the HTTP endpoint, and the internal decomposition of the result into meridian term plus equation of time, which hints at the response shape. It still says nothing about auth requirements or the response envelope, but for a pure computation this is solid added context.

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 conceptual statement comes first, followed by a concrete illustrative case, then a compact bracketed metadata block — well front-loaded. The Kashgar sentence is slightly discursive for the information it carries, but nothing is genuinely wasteful.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter computation with no output schema and only 50% schema coverage, the definition explains the concept well but leaves the caller guessing about the return shape and about how timezone, timezoneOffset, precision, fields, and language affect the result. It is adequate to select the tool but thin for invoking it correctly in edge cases (e.g. pre-1970 dates, which the schema flags but the description does not).

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 50%, so the schema handles half the burden; the description adds real meaning only for longitude (it is the 'birth longitude' the solar correction is computed over). The 'Required: date, time, timezoneOffset, longitude' line merely restates the schema's required list, and the timezone vs. timezoneOffset precedence plus fields/language/precision are left entirely to the schema.

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 names the specific quantity computed — the clock corrected to true solar time over the birth longitude, decomposed into the meridian term and the equation of time — which is far more precise than the title alone. It lacks an explicit action verb (it reads as a noun phrase describing a value rather than 'computes and returns X'), and it never contrasts itself with sibling Chinese tools such as tong_shu or lunar_date.

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?

The Kashgar example implies when this matters (birth longitude far from the zone meridian, correcting the hour pillar), so an agent can infer the use case. However, there is no explicit 'use this when…' statement, no stated prerequisites, and no named alternative for agents who only need standard zone time.

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