Skip to main content
Glama

Mesoamerican Astrology MCP Server by RoxyAPI

Convert a Maya Long Count - Long Count calendar converter API

post_mesoamerican_astrology_mayan_long_count_convert
Destructive

Maya Long Count converter that runs both ways: give it a Gregorian date and it returns the Long Count, give it a dotted Long Count and it returns the date. Every answer carries the Julian Day Number, the elapsed day count and the Calendar Round, and the correlation constant is a typed parameter so a value can be matched against any published inscription reading. Built for epigraphy tools, museum and education apps, and anything that has to place a Maya date on a civil calendar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoProleptic Gregorian date to convert INTO a Long Count. Supply this or longCount, never both and never neither.
langNoResponse language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.en
compactNoSet true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {"__cols":[names],"__rows":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.
longCountNoDotted Long Count to convert INTO a date, written baktun.katun.tun.winal.kin. Each position is bounded by its own base, and the winal counts to 17 rather than to 19 because eighteen winal make a tun, so 9.12.11.18.0 is rejected as a date that does not exist. Supply this or date, never both and never neither.
correlationNoWhich correlation constant ties the day count to a civil date. This is the single choice that shifts every value in the response, so it is a parameter rather than a hidden default, and the resolved value comes back under conventions. "gmt-584283" is the commonly accepted constant and the default, and it is the one the major institutional converter runs on. "martinez-hernandez-584281" sits two days earlier, "astronomical-584285" two days later, and "martin-skidmore-584286" three days later, each shifting the Long Count by exactly its difference in days. Four of the eight published constants are offered: the other four sit tens of thousands of days away and are of historical interest only. The 584281 constant is the Martínez Hernández correlation, after Juan Martínez Hernández.gmt-584283

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description adds useful behavioral detail beyond the annotations: every response includes the Julian Day Number, elapsed day count, and Calendar Round, and the correlation constant is parameterized rather than hidden. The destructiveHint annotation is not directly contradicted because the description never explicitly promises a side-effect-free operation, though the description reads as a pure converter and would benefit from clarifying what that flag refers to.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is economical: the first sentence establishes the core bidirectional behavior, the second gives response contents and the correlation design, and the third names target use cases. No filler or redundant restatement of the title.

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?

For a tool with five parameters, no output schema, and two enums, the description is nearly complete: it covers the conversion directions, key response contents, and intended audiences. The residual gap is the unaddressed destructiveHint annotation and the lack of any error-condition guidance, which the schema only partially covers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameter burden is already carried by the schema. The tool description adds conceptual value by explaining the role of the correlation constant and the output fields, which helps an agent reason about correctness without needing to re-derive semantics from the schema alone.

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?

The description states a specific operation — bidirectional conversion between Gregorian dates and Maya Long Counts — and names the exact resource. It clearly distinguishes itself from the sibling astrology/divination tools by emphasizing pure date conversion rather than daily readings or charts.

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

Usage Guidelines4/5

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

The description gives clear intended contexts: epigraphy tools, museum and education apps, and civil-date placement. It also explains both invocation directions, but it does not explicitly name sibling alternatives or state when not to use this tool, so it stops short of a 5.

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.

TDQS

A4.1/5.0
Disambiguation3/5

Most tools are cleanly separated by tradition and resource type, but the Aztec and Mayan 'daily' endpoints overlap heavily with the corresponding tonalpohualli/tzolkin calculators: both return the day sign, coefficient, trecena, and a reading for a date. The descriptions hint at different use cases, but an agent could easily select the wrong one for a daily feed or sign lookup.

Naming Consistency5/5

All tools follow the same lowercase snake_case convention: get_/post_ + mesoamerican_astrology + aztec/mayan + resource + optional selector. GET is consistently used for fixed/reference content and POST for computation, making the hierarchy predictable across every endpoint.

Tool Count4/5

18 tools is slightly high but reasonable for covering two calendar traditions with list/detail endpoints for signs, trecenas, and Mayan Haab months. The duplicate daily/calculator pairs inflate the count somewhat, but the overall surface is not bloated for the stated purpose.

Completeness4/5

The server thoroughly covers Mayan Tzolkin, Haab, Long Count, charts, and compatibility, plus Aztec tonalpohualli signs, trecenas, and date conversion. Notable gaps are the absence of an Aztec 365-day Xiuhpohualli/monthly calendar and Aztec chart/compatibility endpoints, but core lookups and readings are well covered.

Resources