Skip to main content
Glama

AstroWay Astrology API (full catalogue)

Dashas: Dwadashottari Pratyantardasha

astroway_vd_dwadashottari_pratyantar
Read-onlyIdempotent

Dwadashottari Pratyantardasha: the 8 sub-periods of the running period at targetDate, 3 levels deep, split in proportion to the lords' years from the period's own lord. Inside the birth mahadasha the split follows the full period from its notional start: sub-periods that ended before birth are left out and the running one starts at birth.

[Group: Vedic] [Endpoint: POST /v1/vedic/dashas/dwadashottari/pratyantar] [Cost: 20 credits (Tier 2)]

(Cursor-friendly alias for astroway_vedic_dashas_dwadashottari_pratyantar.)

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": {
      "body": "<body>"
    },
    "name": "astroway_vd_dwadashottari_pratyantar"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesBirth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC; send timezone instead (an IANA name such as Europe/Kyiv, or auto) and the offset for that date is worked out, summer time included. city is a display label only: nothing here geocodes it, so it never stands in for coordinates. houseSystem is a single house-system letter, P by default; a name such as "Placidus" is refused, and the case matters because I and i are two different Sunshine systems.
fieldsNoComma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp".
precisionNoRound numbers to this many decimals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / body / allOf
      Removed value: -[
      -  {
      -    "description": "Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC; send timezone instead (an IANA name such as Europe/Kyiv, or auto) and the offset for that date is worked out, summer time included. city is a display label only: nothing here geocodes it, so it never stands in for coordinates. houseSystem is a single house-system letter, P by default; a name such as \"Placidus\" is refused, and the case matters because I and i are two different Sunshine systems.",
      -    "properties": {
      -      "ayanamsa": {
      -        "description": "Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.",
      -        "enum": [
      -          "fagan-bradley",
      -          "lahiri",
      -          "de-luce",
      -          "raman",
      -          "krishnamurti",
      -          "kp",
      -          "yukteshwar",
      -          "jn-bhasin",
      -          "true-citra",
      -          "djwhal-khul"
      -        ],
      -        "type": "string"
      -      },
      -      "ayanamsaId": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "city": {
      -        "default": "",
      -        "type": "string"
      -      },
      -      "cosmogram": {
      -        "type": "boolean"
      -      },
      -      "date": {
      -        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -        "type": "string"
      -      },
      -      "houseSystem": {
      -        "default": "P",
      -        "enum": [
      -          "P",
      -          "K",
      -          "R",
      -          "C",
      -          "E",
      -          "W",
      -          "B",
      -          "M",
      -          "O",
      -          "A",
      -          "T",
      -          "V",
      -          "D",
      -          "F",
      -          "G",
      -          "H",
      -          "I",
      -          "i",
      -          "L",
      -          "N",
      -          "Q",
      -          "S",
      -          "U",
      -          "X",
      -          "Y"
      -        ],
      -        "type": "string"
      -      },
      -      "latitude": {
      -        "maximum": 90,
      -        "minimum": -90,
      -        "type": "number"
      -      },
      -      "longitude": {
      -        "maximum": 180,
      -        "minimum": -180,
      -        "type": "number"
      -      },
      -      "name": {
      -        "default": "",
      -        "type": "string"
      -      },
      -      "time": {
      -        "pattern": "^\\d{2}:\\d{2}(:\\d{2})?$",
      -        "type": "string"
      -      },
      -      "timezone": {
      -        "description": "IANA zone (Europe/Kyiv) or \"auto\" from latitude/longitude; replaces timezoneOffset. Before 1970 prefer timezoneOffset.",
      -        "type": "string"
      -      },
      -      "timezoneOffset": {
      -        "default": 0,
      -        "description": "Hours from UTC, not minutes (3, -5, 5.5). Defaults to 0 (UTC). Ignored when timezone is sent.",
      -        "maximum": 14,
      -        "minimum": -14,
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "zodiacType": {
      -        "enum": [
      -          "tropical",
      -          "sidereal"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "date",
      -      "time",
      -      "latitude",
      -      "longitude"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "targetDate": {
      -        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -        "type": "string"
      -      },
      -      "targetTime": {
      -        "pattern": "^\\d{2}:\\d{2}(:\\d{2})?$",
      -        "type": "string"
      -      },
      -      "targetTzOffset": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • addedInput schema / properties / body / properties
      Added value: +{
      +  "ayanamsa": {
      +    "description": "Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.",
      +    "enum": [
      +      "fagan-bradley",
      +      "lahiri",
      +      "de-luce",
      +      "raman",
      +      "krishnamurti",
      +      "kp",
      +      "yukteshwar",
      +      "jn-bhasin",
      +      "true-citra",
      +      "djwhal-khul"
      +    ],
      +    "type": "string"
      +  },
      +  "ayanamsaId": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "city": {
      +    "default": "",
      +    "type": "string"
      +  },
      +  "cosmogram": {
      +    "type": "boolean"
      +  },
      +  "date": {
      +    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +    "type": "string"
      +  },
      +  "houseSystem": {
      +    "default": "P",
      +    "enum": [
      +      "P",
      +      "K",
      +      "R",
      +      "C",
      +      "E",
      +      "W",
      +      "B",
      +      "M",
      +      "O",
      +      "A",
      +      "T",
      +      "V",
      +      "D",
      +      "F",
      +      "G",
      +      "H",
      +      "I",
      +      "i",
      +      "L",
      +      "N",
      +      "Q",
      +      "S",
      +      "U",
      +      "X",
      +      "Y"
      +    ],
      +    "type": "string"
      +  },
      +  "latitude": {
      +    "maximum": 90,
      +    "minimum": -90,
      +    "type": "number"
      +  },
      +  "longitude": {
      +    "maximum": 180,
      +    "minimum": -180,
      +    "type": "number"
      +  },
      +  "name": {
      +    "default": "",
      +    "type": "string"
      +  },
      +  "targetDate": {
      +    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +    "type": "string"
      +  },
      +  "targetTime": {
      +    "pattern": "^\\d{2}:\\d{2}(:\\d{2})?$",
      +    "type": "string"
      +  },
      +  "targetTzOffset": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "time": {
      +    "pattern": "^\\d{2}:\\d{2}(:\\d{2})?$",
      +    "type": "string"
      +  },
      +  "timezone": {
      +    "description": "IANA zone (Europe/Kyiv) or \"auto\" from latitude/longitude; replaces timezoneOffset. Before 1970 prefer timezoneOffset.",
      +    "type": "string"
      +  },
      +  "timezoneOffset": {
      +    "default": 0,
      +    "description": "Hours from UTC, not minutes (3, -5, 5.5). Defaults to 0 (UTC). Ignored when timezone is sent.",
      +    "maximum": 14,
      +    "minimum": -14,
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "zodiacType": {
      +    "enum": [
      +      "tropical",
      +      "sidereal"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / body / required
      Added value: +[
      +  "date",
      +  "time",
      +  "latitude",
      +  "longitude"
      +]
    • addedInput schema / properties / body / type
      Added value: +"object"
  2. Added
  3. Removed
  4. Added

TDQS

A3.7/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, so the description's job is to add computation-specific behavior, and it does: proportional splitting by the lords' years, plus the non-obvious birth-mahadasha rule where pre-birth sub-periods are dropped and the running one is clipped to birth. It also discloses the 20-credit Tier 2 cost, which annotations do not cover. It stops short of describing the response shape or failure modes.

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 core definition leads in the first sentence and the birth-mahadasha edge case follows in the second, so an agent hits the essential semantics immediately. The metadata block (group, endpoint, cost) and the alias note are boilerplate but operationally useful; nothing is redundant enough to hurt.

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

Completeness4/5

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

For a computational astrology tool with no output schema and a fully described nested input, the description covers the calculation logic, the birth-time edge case and the credit cost — enough to call it correctly. The main remaining gap is the structure of the returned sub-periods (lord, start/end fields), which an agent must discover from a response.

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 the nested birth body, ayanamsa, timezone and precision parameters are already documented in the schema; baseline is 3. The description adds only one semantic clarification — that the running period is evaluated at `targetDate` rather than at the birth date — and does not address how ayanamsa or targetTime affect the split.

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 names a specific technique (Dwadashottari Pratyantardasha) and states exactly what is produced: the 8 sub-periods of the running period at `targetDate`, at the third level. The level naming plus '3 levels deep' lets an agent distinguish it from the antar/maha/prana siblings in the same family without opening a schema, though no sibling is named explicitly.

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 by the level semantics: an agent infers it should be used when it needs pratyantardasha granularity rather than maha or antar. There is no explicit when-to-use statement, no condition for preferring the sibling `astroway_vedic_dashas_dwadashottari_pratyantar`, and no prerequisites such as needing a targetDate within the mahadasha.

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