Skip to main content
Glama

Astro Agents - deterministic Western + Vedic astrology

Panchang

panchang
Read-onlyIdempotent

Tithi, vara, nakshatra, yoga, karana with the exact time each ends, plus sunrise and sunset. The Hindu almanac for any moment and place: the five limbs with their end times (to the minute), paksha, Moon and Sun rashi, sunrise/sunset, and the vara by the sunrise-to-sunrise rule. Deterministic (JPL DE440, no LLM); every result carries meta.result_sha256. Price $0.02 per call via REST POST https://astro-agents-api.vercel.app/v1/vedic/panchang (x402 or MPP); your first 3 calls are free here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoYYYY-MM-DD (use with 'time' instead of 'datetime').
timeNoHH:MM or HH:MM:SS, 24 h. Omit if unknown (computed at 12:00 with a TIME_UNKNOWN warning).
optionsNo
datetimeNoLocal birth date-time, ISO 8601: '1990-05-15T14:30' (local clock time at the place) or with an explicit offset '1990-05-15T14:30:00+02:00'. Alternative: 'date' + 'time'.
latitudeYesDecimal degrees, north positive.
timezoneNoIANA zone, e.g. 'Asia/Kolkata'. Optional: resolved from the coordinates, with the historical offset (DST, Local Mean Time) of that date.
longitudeYesDecimal degrees, east positive.
time_basisNoWhat the given clock time is: civil wall-clock (default), UTC, Local Mean Time, or true (apparent) solar time.civil
ambiguous_timeNoWhich occurrence to use when a local time happens twice (DST fall-back).earlier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

With annotations already covering readOnly/idempotent/closed-world, the description still adds substantial context: determinism (JPL DE440, no LLM), a verifiable meta.result_sha256, cost ($0.02/call), the payment mechanism (x402 or MPP), and a free-call allowance. These are exactly the operational facts an agent cannot get from structured fields.

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

Conciseness3/5

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

It is front-loaded with what the tool computes, which is good, but the first and second sentences restate the same content ('exact time each ends' vs 'with their end times (to the minute)'), and the pricing/endpoint sentence is dense with semicolon-separated fragments. It is informative but not tight.

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 9-parameter, no-output-schema tool, the description does describe the returned content (the five limbs with end times, paksha, rashi, sunrise/sunset) and the determinism/hash guarantees, so an agent can anticipate results. Gaps remain around error/warning behavior (e.g. TIME_UNKNOWN) and pagination-free large responses, but the core is covered.

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 description coverage is 89%, so parameters are largely self-documenting and the baseline is 3. The description adds only marginal parameter meaning ('the vara by the sunrise-to-sunrise rule') and does not clarify the date/time vs datetime exclusivity or the options object beyond what the schema states.

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 concrete outputs (tithi, vara, nakshatra, yoga, karana with end times, paksha, Moon/Sun rashi, sunrise/sunset), so an agent knows exactly what this computes. It does not, however, distinguish itself from the similarly-scoped siblings (kundli, natal_chart, nakshatras), so an agent must infer the boundary.

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 or when-not-to-use guidance relative to the 16 sibling tools, nor any stated prerequisites beyond the implicit latitude/longitude requirement. Pricing and endpoint details are present, but selection guidance is entirely absent.

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.