Skip to main content
Glama
astroway-mcp

astroway-mcp

Official
by astroway

Upagrahas: Dhuma to Upaketu, Kala to Gulika, Mandi

astroway_vedic_upagrahas
Read-onlyIdempotent

Calculate Vedic Upagrahas—Dhuma, Vyatipata, Parivesha, Indrachapa, Upaketu, Kala, Mrityu, Ardhaprahara, Yamaghantaka, Gulika and Mandi—from birth date, time, latitude and longitude.

Instructions

The upagrahas of BPHS ch. 3. Five from the Sun (st. 61-64): Dhuma (Sun + 133°20'), Vyatipata (360° - Dhuma), Parivesha (Vyatipata + 180°), Indrachapa (360° - Parivesha), Upaketu (Indrachapa + 16°40', one sign behind the Sun). Five that rise in the eight parts of the day or night, counted from the weekday lord by day and from the fifth lord by night (st. 66-70): Kala (Sun's part), Mrityu (Mars), Ardhaprahara (Mercury), Yamaghantaka (Jupiter), Gulika (Saturn), each as the sidereal lagna at the start of its part with the end beside it. Mandi by the ghatika table of the Prasna Marga notes.

[Group: Vedic] [Endpoint: POST /v1/vedic/upagrahas] [Required: date, time, latitude, longitude] [Cost: 20 credits (Tier 2)]

Input Schema

NameRequiredDescriptionDefault
cityNo
dateYes
nameNo
timeYes
ayanamsaNoSidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
latitudeYes
timezoneNoIANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known.
cosmogramNo
longitudeYes
ayanamsaIdNo
zodiacTypeNo
houseSystemNoP
timezoneOffsetNoHours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. Ignored when timezone is sent.

Output Schema

NameRequiredDescriptionDefault
dayNo
sunNo
lagnaNo
mandiNo
notesNo
methodNo
sourcesNo
ayanamsaNo
sunBasedNo
timeBasedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.1

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds operational facts such as the POST endpoint, 20-credit cost, and required date/time/latitude/longitude, but does not describe rate limits, output structure, or error behavior beyond what annotations and schema provide.

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 first sentence is front-loaded and identifies the subject, but the remainder is a dense paragraph of BPHS verse citations and formulas that do not help an agent invoke the endpoint. It is technically rich but not concise for a tool description.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter Vedic calculation endpoint with an output schema, the description covers astrological definitions and required inputs but omits usage guidance and most optional-parameter semantics. It is therefore not complete enough for reliable invocation despite the annotations and output schema covering safety and returns.

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

Parameters2/5

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

With 13 parameters and only 23% schema-description coverage, the description needed to define the optional inputs. Instead it only lists the four required parameters and gives no meaning for ayanamsa, timezone, timezoneOffset, zodiacType, houseSystem, and others; the astrological formulas do not explain parameter usage.

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 "The upagrahas of BPHS ch. 3" names a specific resource, and the enumeration of Dhuma through Gulika/Mandi makes the tool's domain unmistakable. It lacks an explicit action verb and does not name a sibling, so it is clear but not fully self-differentiating.

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?

No sentence states when to choose this tool over other Vedic endpoints or when not to use it; the description is a technical definition rather than routing guidance. Usage is only implied by the subject matter.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools