Skip to main content
Glama

Hindu calendar: festivals for a year and place

astroway_vedic_calendar_festivals
Read-onlyIdempotent

About 55 pan-Indian festivals dated for the place: Makar Sankranti, Maha Shivaratri, Holika Dahan and Holi, Ugadi, Rama Navami, Hanuman Jayanti, Akshaya Tritiya, Guru Purnima, Raksha Bandhan, Janmashtami, Ganesh Chaturthi, Navratri, Dussehra, Karva Chauth, Dhanteras, Diwali, Govardhan Puja, Bhai Dooj, Chhath, Onam, Puthandu, Vishu, Pohela Boishakh and more.

[Group: Vedic] [Endpoint: POST /v1/vedic/calendar/festivals] [Required: year, latitude, longitude] [Cost: 100 credits (Tier 4)]

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": {
      "year": "<year>",
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "astroway_vedic_calendar_festivals"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesGregorian year, 1900 to 2100. Entries are those whose date falls in this year.
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
ayanamsaNoSidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
latitudeYesLatitude in decimal degrees, north positive. Between -66 and 66: further out the Sun does not rise on some days and a Hindu day has no start.
timezoneNoIANA zone name such as Asia/Kolkata, America/New_York or Europe/Kyiv, or auto (default) to look it up from the coordinates. Resolved day by day: each day is read on the offset that zone kept that day, so summer time is followed.
festivalsNoOnly these festival ids. All when omitted.
longitudeYesLongitude in decimal degrees, east positive.
precisionNoRound numbers to this many decimals.
traditionNoWhose reckoning decides the day where they differ (Rama Navami, Janmashtami). smarta (default): the tithi at the rite's kala, as Dharmasindhu gives it; vaishnava: the ISKCON rule, the tithi at sunrise unmixed with the one before.
ayanamsaIdNo
timezoneOffsetNoA fixed offset in hours instead of a zone, for the whole year. Ignored when timezone is sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 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\"."
    • removedInput schema / properties / latitude / anyOf
      Removed value: -[
      -  {
      -    "maximum": 66,
      -    "minimum": -66,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / latitude / maximum
      Added value: +66
    • addedInput schema / properties / latitude / minimum
      Added value: +-66
    • addedInput schema / properties / latitude / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / longitude / anyOf
      Removed value: -[
      -  {
      -    "maximum": 180,
      -    "minimum": -180,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / longitude / maximum
      Added value: +180
    • addedInput schema / properties / longitude / minimum
      Added value: +-180
    • addedInput schema / properties / longitude / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • 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."
    • removedInput schema / properties / timezoneOffset / anyOf
      Removed value: -[
      -  {
      -    "maximum": 14,
      -    "minimum": -14,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / timezoneOffset / maximum
      Added value: +14
    • addedInput schema / properties / timezoneOffset / minimum
      Added value: +-14
    • addedInput schema / properties / timezoneOffset / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "properties": {
      -    "conventions": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "day": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "kalas": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "months": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "count": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "festivals": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "basis": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "date": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "id": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "kala": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "month": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "observedWindow": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "rule": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "sankranti": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": {},
      -                        "properties": {
      -                          "at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "sign": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "source": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "tithi": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "tradition": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "place": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": {},
      -          "properties": {
      -            "ayanamsaId": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "latitude": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "longitude": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "timezone": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "timezoneOffset": {
      -              "anyOf": [
      -                {},
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "tradition": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "year": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

B3.1/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 covered. The description adds genuinely useful operational context the annotations do not carry: the POST endpoint and the 100-credit Tier 4 cost. It says nothing about response shape, ordering, or how the day calculation resolves ambiguous tithis beyond what the schema already states.

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?

The purpose statement is front-loaded, which is good, but a long roll-call of ~25 festival names duplicates the schema's 56-value enum and consumes most of the description. That space would be better spent on when-to-use guidance and return-format notes.

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 11-parameter, no-output-schema tool, the description covers scope and cost but omits the return structure (how each festival date is presented), pagination/limits, and any routing against the vrats and regional-date siblings. Annotations carry the safety profile, so this is adequate but leaves real gaps.

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 91%, so year, latitude, longitude, timezone, tradition, ayanamsa and festivals are all already explained in the schema, including the -66/66 latitude rationale and the smarta/vaishnava rule. The description adds no parameter meaning beyond that; its festival enumeration merely duplicates the schema enum.

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 the resource concretely – roughly 55 pan-Indian festival dates computed for a given place and year – and enumerates representative festivals, so an agent can tell it is a festival-date calendar rather than a month or vrat listing. However, it has no verb and never explicitly contrasts itself with siblings such as astroway_vedic_calendar_vrats or astroway_vedic_calendar_regional_date, so differentiation is left to inference.

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?

It supplies required parameters and a credit cost but gives no when-to-use guidance, no when-not-to-use, and no pointer to the vrats or regional-date siblings that overlap with festival lookup. An agent must guess whether this or a sibling is the right call.

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