Skip to main content
Glama

AstroWay Divination and esoterica

Haab Civil Day

astroway_mayan_haab
Read-onlyIdempotent

365-day civil calendar = 18 months × 20 days + 5-day Wayeb. Identifies if date falls in unlucky Wayeb period.

[Group: Mayan Calendars] [Endpoint: POST /v1/mayan/haab] [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_haab"
  }
}

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. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "haab": {
      -      "properties": {
      -        "day": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "isWayeb": {
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "label": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "month": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed8 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."
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / additionalProperties
      Removed value: -{}
    • removedOutput schema / properties / haab / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "day": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "isWayeb": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "label": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "month": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / haab / properties
      Added value: +{
      +  "day": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "isWayeb": {
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "label": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "month": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / haab / type
      Added value: +[
      +  "object",
      +  "null"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / haab / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "day": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "isWayeb": {
      -        "anyOf": [
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "label": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "month": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "day": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "isWayeb": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "label": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "month": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. 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 readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely non-schema context — the calendar's structural arithmetic, the Wayeb interpretation, and the 10-credit Tier 1 cost — but never says what the response contains or its shape.

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 definition leads with the calendar structure and the Wayeb check, which is the right front-loading. The bracketed metadata block (group, endpoint, credits) is formulaic and the endpoint line carries little selection value, but overall there is minimal wasted prose.

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?

With no output schema, the description should explain the returned fields — a Haab day is a month name plus a day number in the 0–19 cycle, none of which is stated. For a low-complexity single-date lookup with annotations covering safety, this is adequate but leaves a real gap in what the agent will get back.

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%: `fields` and `precision` carry their own descriptions and `date` has a regex pattern, so the schema does most of the work. The description only restates "[Required: date]" and adds no meaning about the date format, what `fields` filters, or how `precision` affects results.

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 states a concrete resource and scope: it computes the 365-day Haab civil calendar position (18 months × 20 days + Wayeb) and flags the Wayeb period. A specific verb is only implied ("Identifies if date falls in unlucky Wayeb period"), and no sibling such as astroway_mayan_tzolkin or astroway_mayan_long_count is named, so differentiation relies on the reader already knowing the Maya calendar systems.

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?

The only usage signal is the incidental note that it detects the unlucky Wayeb period. There is no statement of when to choose Haab over Tzolk'in, Long Count, Calendar Round, or the full Mayan tool, and no prerequisites or exclusions are given despite this being one of many near-identical Mayan calendar endpoints.

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