Skip to main content
Glama
astroway-mcp

astroway-mcp

Official
by astroway

Yogas: Raja (royal)

astroway_vedic_yogas_parashara_raja
Read-onlyIdempotent

Detects Raja Yogas in a Vedic chart by checking BPHS sambandha between kendra and trikona lords through conjunction, mutual graha drishti, or strict parivartana.

Instructions

Raja Yoga detection per BPHS A.36-37: sambandha between kendra-lord (1/4/7/10) and trikona-lord (1/5/9) via 1) conjunction, 2) mutual graha drishti (full Vedic aspects: 7th universal + Mars 4/8, Jupiter 5/9, Saturn 3/10), or 3) strict parivartana (specific pair-swap of houses).

[Group: Vedic] [Endpoint: POST /v1/vedic/yogas/parashara/raja] [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
yogaNo
schoolNo
detailsNo
presentNo
lagnaSignNo
contributingPlanetsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description adds the 20-credit Tier 2 cost and the required-input envelope, which an agent needs before calling a billable endpoint. It also discloses the exact computation semantics (which drishti counts, what qualifies as strict parivartana), which is real behavioural context. It stops short of saying what happens when no yoga is found.

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?

Front-loaded with the substantive definition, then a compact bracketed metadata block for group, endpoint, required inputs and cost. Dense but every clause carries information; the only mild redundancy is restating the required parameters that the schema already marks.

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?

An output schema exists, so return values need no explanation, and the annotations plus cost note cover the operational envelope. For a 13-parameter Vedic tool, however, the description leaves the sidereal-configuration surface entirely undocumented, and it does not establish its relationship to the umbrella parashara_full tool an agent would likely reach for first.

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?

Schema description coverage is only 23% across 13 parameters, so the description is expected to compensate. Instead it lists the four required parameters, which the schema's required array already declares, and says nothing about ayanamsa, ayanamsaId, houseSystem, zodiacType, or cosmogram — all of which change the outcome of a sidereal Vedic calculation. Marginal value over the structured fields.

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?

States a specific verb (detection) and resource (Raja Yoga), quotes the governing source BPHS A.36-37, and enumerates the three admissible sambandha mechanisms. This is enough to separate it from astroway_vedic_yogas_parashara_full, _dhana, _gajakesari, or the Jaimini raja variant without opening their schemas.

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?

The domain scope implies when to use it (a Vedic natal chart, Raja Yoga specifically), and the [Required]/[Cost] block tells the agent what inputs and credits are needed. But it never names an alternative or an exclusion — nothing says 'use parashara_full to get all yogas' or 'skip if outside the Vedic tradition', so the routing decision 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.

Deploy Server

Other Tools