Skip to main content
Glama

compute_dasha

Calculate Vedic dasha planetary periods from birth Julian Day. Supports Vimshottari, Ashtottari, Yogini, Chara, and Narayana systems, returning start and end Julian Days for each period.

Instructions

Compute Vedic dasha (planetary period) sequences. Supports five classical systems: Vimshottari, Ashtottari, Yogini (Moon-longitude based, require moon_longitude); Chara, Narayana (Lagna-sign based, require lagna_sign). Returns a JSON dasha tree with start/end Julian Days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelsNoNumber of nested dasha levels (1–5). Ignored by Chara and Narayana.
systemNoDasha system selectorVimshottari
birth_jdYesBirth Julian Day used as the dasha epoch, in UT1 (Universal Time) — not TT, not TDB, i.e. the same scale as compute_natal_chart's julian_day. Dasha computation is ephemeris-free, so this epoch is carried through rather than converted: every returned start_jd/end_jd is on the same UT1 scale as the input.
lagna_signNoLagna (ascendant) sign 1–12 (1 = Aries). Required for Chara, Narayana.
moon_longitudeNoNatal Moon sidereal longitude in degrees [0, 360). Required for Vimshottari, Ashtottari, Yogini.
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses the output (JSON dasha tree with start/end Julian Days), the read-only nature implied by 'returns', and importantly clarifies that the computation is ephemeris-free and carries the UT1 epoch through rather than converting. This is meaningful context beyond a simple 'compute' statement, though it omits error handling or response edge cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler. The purpose is front-loaded, the systems and their requirements are grouped logically, and the output is stated. Every phrase earns its place, and the structure makes scanning easy.

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 tool with five parameters, five systems, and no output schema, the description covers the essential points: what it computes, which systems need which parameters, and what the return type is. It also explains the time-scale detail that could trip up users. It does not mention what happens if required params are missing, but that is a minor gap given the schema already marks them required.

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% — every parameter already has a clear description, including which systems require which parameters. The tool description repeats this requirement mapping and adds the UT1 scale note, but that is also already in the birth_jd schema description. The description adds no new information beyond what the schema already provides, so it stays at the baseline.

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 opens with a specific verb ('Compute') and resource ('Vedic dasha sequences'), and immediately enumerates the five supported systems. This clearly distinguishes the tool from siblings like compute_gochara or compute_transit, leaving no ambiguity about what it does.

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?

The description provides no guidance on when to choose this tool over alternatives such as compute_panchanga or compute_bhavas. It mentions compute_natal_chart only to clarify the time scale, not as a usage comparison. It does explain parameter requirements per system, but that is parameter-level guidance, not tool-selection guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arthiqlabs/vedaksha'

If you have feedback or need assistance with the MCP directory API, please join our Discord server