Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Long Count

astroway_mayan_long_count
Read-onlyIdempotent

Five-place positional notation: baktun.katun.tun.uinal.kin. Days since 4 Ahau 8 Cumku (3114 BC).

[Group: Mayan Calendars] [Endpoint: POST /v1/mayan/long-count] [Required: date] [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>"
    },
    "name": "astroway_mayan_long_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
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": {
      -    "longCount": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "baktun": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "daysSinceCreation": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "katun": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "kin": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "notation": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "tun": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "uinal": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / properties / longCount / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "baktun": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "daysSinceCreation": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "katun": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "kin": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "notation": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "tun": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "uinal": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "baktun": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "daysSinceCreation": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "katun": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "kin": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "notation": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "tun": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "uinal": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds useful operational context the annotations lack: the POST endpoint, the single required parameter, and a 10-credit Tier 1 cost. It stops short of saying what comes back or whether the response includes the correlation day number.

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 concept is front-loaded in a single dense sentence, followed by bracketed metadata lines that are scannable and waste no words. Structure is good, though the notation string and epoch reference are compact to the point of being cryptic for a reader unfamiliar with the correlation constant.

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?

This is a simple single-value converter, and its identity, endpoint, required input, and cost are all stated. However, with no output schema, the description never indicates the shape of the result (a formatted baktun.katun.tun.uinal.kin string versus an object), nor what era the date range must fall in - gaps an agent would want closed before calling.

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 67% - the `date` parameter has a regex pattern but no prose description, while `fields` and `precision` are documented in the schema itself. The description explains the notation that `date` produces but adds no meaning about how `date` is interpreted (Gregorian vs. Julian correlation) or how `fields`/`precision` affect this particular endpoint. Baseline 3 is appropriate.

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 a specific computation and resource: five-place Mayan Long Count notation (baktun.katun.tun.uinal.kin) with the epoch stated as days since 4 Ahau 8 Cumku. An agent immediately knows this returns a Long Count date value. It does not explicitly distinguish itself from astroway_mayan_full or astroway_mayan_calendar_round, which is why it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no named alternative; the definition never says 'use this when you want only the Long Count, use mayan_full for all calendar systems.' The metadata blocks ([Required: date], [Cost: 10 credits]) are operational constraints rather than selection guidance.

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