Skip to main content
Glama

Hindu calendar: vrats (Ekadashi with parana, Pradosh, Sankashti, Purnima, Amavasya, Masik Shivaratri)

astroway_vedic_calendar_vrats
Read-onlyIdempotent

Every vrat of the year for the place. Ekadashi: the Smarta day (Ekadashi at sunrise; two sunrises: the first, unless Dashami touches it at arunodaya; Dwadashi with no sunrise: the day before) and the Vaishnava day where it differs (Dashami-viddha at arunodaya refused, Gauna day, Vanjuli mahadwadashi), each with its parana window outside Hari Vasara and within Dwadashi.

[Group: Vedic] [Endpoint: POST /v1/vedic/calendar/vrats] [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_vrats"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesGregorian year, 1900 to 2100. Entries are those whose date falls in this year.
typesNoOnly these vrat types: ekadashi, pradosh, sankashti, purnima, amavasya, masik-shivaratri. All when omitted.
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.
longitudeYesLongitude in decimal degrees, east positive.
precisionNoRound numbers to this many decimals.
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": {
      -    "count": {
      -      "type": [
      -        "number",
      -        "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"
      -        }
      -      ]
      -    },
      -    "types": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "vrats": {
      -      "anyOf": [
      -        {
      -          "items": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "date": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "kala": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "month": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": {},
      -                        "properties": {
      -                          "amanta": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "purnimanta": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "moonrise": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "name": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "observance": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "observedWindow": {
      -                    "anyOf": [
      -                      {},
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "rule": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "source": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "tithi": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": {},
      -                        "properties": {
      -                          "end": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "name": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "number": {
      -                            "type": [
      -                              "number",
      -                              "null"
      -                            ]
      -                          },
      -                          "paksha": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "start": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "type": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "year": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, but the description adds real behavioral substance beyond that: it discloses the actual decision rules (Smarta vs Vaishnava Ekadashi, arunodaya viddha rejection, Gauna day, parana constrained outside Hari Vasara and inside Dwadashi), which tells the agent what the results mean and why some days are shifted. The metadata block additionally exposes the endpoint and a 100-credit Tier 4 cost, both useful pre-call facts.

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 is front-loaded in a short first sentence, which is good. The second sentence, however, is a single very long clause chain of untranslated Sanskrit terminology whose density costs more than it earns for tool selection, even if it is valuable for interpreting results.

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 a 10-parameter domain tool with no output schema, the definition explains Ekadashi output (parana windows) but says nothing about the shape or content of pradosh, sankashti, purnima, amavasya or masik-shivaratri results. The rich schema and the endpoint/cost metadata compensate partially, but return expectations remain underspecified.

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 90%, so the schema already carries parameter meaning and the baseline is 3. The description adds only 'for the place' and 'of the year', restating the year and coordinate requirements without expanding on ayanamsa, types, fields, precision, or timezone handling.

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 opening sentence plus the title establish a specific verb and resource: return every vrat day of a given year for a given place, enumerated by type (Ekadashi, Pradosh, Sankashti, Purnima, Amavasya, Masik Shivaratri). What it does not do is differentiate itself from the adjacent calendar tools (festivals, months, ics), so an agent must infer from names alone which calendar endpoint to pick.

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

Usage Guidelines3/5

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

Usage is only implied: 'for the place' plus the required year/latitude/longitude block make clear this is a year-at-a-location query. There is no explicit when-to-use versus astroway_vedic_calendar_festivals or the ics export, and no statement of when not to use it, so selection among calendar siblings is left to inference.

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