Skip to main content
Glama

Hindu calendar: ICS feed of festivals and vrats

astroway_vedic_calendar_ics
Read-onlyIdempotent

The festivals and vrats of a year for a place as an iCalendar file (text/calendar, RFC 5545): one all-day event per observance, the rule, tithi window, parana and source in the description, a stable UID per festival, date and place. Query: year, latitude, longitude, timezone (IANA or auto), include (festivals, vrats or single vrat types, comma separated; default festivals,vrats), tradition. The key travels in X-Api-Key, so fetch it from your server and serve the file to calendar apps; it is priced as one festivals call.

[Group: Vedic] [Endpoint: GET /v1/vedic/calendar/ics] [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_ics"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesGregorian year; events are those dated in it.
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
includeNoComma list: festivals, vrats, or single vrat types (ekadashi, pradosh, sankashti, purnima, amavasya, masik-shivaratri).festivals,vrats
latitudeYesLatitude in decimal degrees, north positive.
timezoneNoIANA zone name, or auto to look it up from the coordinates. Followed day by day, summer time included.auto
longitudeYesLongitude in decimal degrees, east positive.
precisionNoRound numbers to this many decimals.
traditionNoWhose reckoning decides the day where traditions differ (Rama Navami, Janmashtami).smarta
ayanamsaIdNoAyanamsa id; 1 is Lahiri.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent and non-destructive, and the description adds real context on top: the API key travels in an `X-Api-Key` header, the response is an RFC 5545 calendar file, and each festival carries a stable UID so repeated fetches dedupe cleanly in a calendar client. Pricing (100 credits, one festivals call) is also disclosed. It does not cover response size, event-count limits, or error behavior for out-of-range coordinates.

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 output format and the per-event payload are front-loaded in the first sentence, followed by the query surface and then the auth/delivery note, which is the right order for an agent deciding whether to call it. It is a single dense paragraph with no filler sentences, though the parameter list reads a bit like schema echo.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of explaining what comes back, and it does: an all-day event per observance containing rule, tithi window, parana and source, plus a stable UID, date and place. Combined with the auth header note and the RFC 5545 content type, an agent has enough to call this and hand the result to a calendar client.

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 100%, so every one of the nine parameters is already documented in the schema, and the description largely restates them (`year`, `latitude`, `longitude`, `timezone`, `include`, `tradition`). It does add a little meaning, notably that `tradition` decides the day where reckonings diverge (Rama Navami, Janmashtami) and that `include` accepts individual vrat types. The undocumented parameters `fields`, `precision` and `ayanamsaId` get no mention at all.

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 names a specific verb and resource — the festivals and vrats of a year for a place, delivered as an iCalendar file — and immediately pins down the serialization (`text/calendar`, RFC 5545) and record granularity (one all-day event per observance). That detail separates it from the sibling JSON endpoints `astroway_vedic_calendar_festivals` and `astroway_vedic_calendar_vrats` without the agent needing to open any schema.

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?

It gives a concrete usage context — fetch the key server-side and serve the resulting file to calendar apps — which tells the agent this is a delivery-oriented endpoint rather than an in-context data query. It also notes the pricing equivalence to a festivals call, hinting at the relationship to that sibling. It stops short of an explicit 'use X instead when you need JSON', so routing guidance is implied rather than stated.

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