Skip to main content
Glama

Vedic Astrology and Kundli MCP Server by RoxyAPI

Get Shadbala (six-fold planetary strength) analysis - Shadbala Calculator API

post_vedic_astrology_shadbala
Read-only

Calculate complete Shadbala (six-fold planetary strength) per Brihat Parashara Hora Shastra (BPHS) and BV Raman Graha and Bhava Balas. Returns all 6 strength components (Sthana Bala, Dig Bala, Kala Bala, Chesta Bala, Naisargika Bala, Drik Bala) plus Ishta Phala, Kashta Phala, strength ratio, and relative ranking for all 7 classical planets. Essential for evaluating planetary strength in Vedic birth chart analysis, dasha prediction, transit interpretation, and yoga assessment. Shadbala calculator API, planetary strength Vedic astrology, graha bala, Ishta Kashta Phala.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesBirth date in YYYY-MM-DD format. Date determines planetary positions and nakshatra calculations for Vedic kundli (janam patri). Accurate birth date is essential for dashas, yoga calculations, and divisional charts (vargas).
langNoResponse language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English.en
timeYesBirth time in 24-hour HH:MM:SS format. Time is CRITICAL for Lagna (Ascendant) calculation and house divisions. It changes every two hours roughly. Even minutes matter for accurate nakshatra pada and divisional chart (D9, D10) calculations. Without exact time, Lagna and house-based predictions will be incorrect.
compactNoSet true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {"__cols":[names],"__rows":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.
ayanamsaNoSidereal frame (ayanamsa) the chart is cast in. "lahiri" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. "raman" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. "kp-newcomb" and "kp-old" are the two Krishnamurti Paddhati frames. "custom" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.lahiri
latitudeYesBirth location latitude in decimal degrees. Location determines local sidereal time for Lagna calculation and affects bhava (house) cusps. Example: Delhi 28.6139, Mumbai 19.0760, Kathmandu 27.7172.
timezoneNoTimezone: an IANA name (e.g. "America/New_York", "Europe/London", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5.
longitudeYesBirth location longitude in decimal degrees. Affects local time calculations and ayanamsha adjustments. Example: Delhi 77.2090, Mumbai 72.8777, Kathmandu 85.3240.
ayanamsaValueNoCustom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameYes
planetsYes
balaThemesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / timezone / description
      Previous value: -"Timezone: IANA name (e.g. \"America/New_York\", \"Europe/London\") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). IANA strings are resolved to the offset in force at the given date and time, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5."New value: +"Timezone: an IANA name (e.g. \"America/New_York\", \"Europe/London\", or `cities[0].timezone` from /location/search) or decimal hours from UTC (e.g. -5 for EST, 5.5 for IST). An IANA name is resolved to the offset in force at the given date and time. Defaults to 5.5."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "balaThemes": {
      +      "properties": {
      +        "chestaBala": {
      +          "properties": {
      +            "meaning": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "meaning"
      +          ],
      +          "type": "object"
      +        },
      +        "digBala": {
      +          "properties": {
      +            "meaning": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "meaning"
      +          ],
      +          "type": "object"
      +        },
      +        "drikBala": {
      +          "properties": {
      +            "meaning": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "meaning"
      +          ],
      +          "type": "object"
      +        },
      +        "kalaBala": {
      +          "properties": {
      +            "meaning": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "meaning"
      +          ],
      +          "type": "object"
      +        },
      +        "naisargikaBala": {
      +          "properties": {
      +            "meaning": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "meaning"
      +          ],
      +          "type": "object"
      +        },
      +        "sthanaBala": {
      +          "properties": {
      +            "meaning": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "meaning"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "sthanaBala",
      +        "digBala",
      +        "kalaBala",
      +        "chestaBala",
      +        "naisargikaBala",
      +        "drikBala"
      +      ],
      +      "type": "object"
      +    },
      +    "frame": {
      +      "properties": {
      +        "ayanamsa": {
      +          "type": "string"
      +        },
      +        "ayanamsaDegrees": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "ayanamsa",
      +        "ayanamsaDegrees"
      +      ],
      +      "type": "object"
      +    },
      +    "planets": {
      +      "items": {
      +        "properties": {
      +          "chestaBala": {
      +            "type": "number"
      +          },
      +          "digBala": {
      +            "type": "number"
      +          },
      +          "drikBala": {
      +            "type": "number"
      +          },
      +          "ishtaPhala": {
      +            "type": "number"
      +          },
      +          "kalaBala": {
      +            "type": "number"
      +          },
      +          "kashtaPhala": {
      +            "type": "number"
      +          },
      +          "minRequired": {
      +            "type": "number"
      +          },
      +          "naisargikaBala": {
      +            "type": "number"
      +          },
      +          "planet": {
      +            "type": "string"
      +          },
      +          "relativeRank": {
      +            "type": "number"
      +          },
      +          "sthanaBala": {
      +            "type": "number"
      +          },
      +          "strengthRatio": {
      +            "type": "number"
      +          },
      +          "totalRupas": {
      +            "type": "number"
      +          },
      +          "totalVirupas": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "planet",
      +          "sthanaBala",
      +          "digBala",
      +          "kalaBala",
      +          "chestaBala",
      +          "naisargikaBala",
      +          "drikBala",
      +          "totalVirupas",
      +          "totalRupas",
      +          "minRequired",
      +          "strengthRatio",
      +          "ishtaPhala",
      +          "kashtaPhala",
      +          "relativeRank"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "balaThemes",
      +    "frame",
      +    "planets"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / timezone / description
      Previous value: -"Timezone: IANA name (e.g. \"America/New_York\", \"Europe/London\") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5."New value: +"Timezone: IANA name (e.g. \"America/New_York\", \"Europe/London\") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). IANA strings are resolved to the offset in force at the given date and time, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5."
  4. Changed2 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English."New value: +"Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "tr",
      -  "de",
      -  "es",
      -  "hi",
      -  "pt",
      -  "fr",
      -  "ru"
      -]New value: +[
      +  "en",
      +  "tr",
      +  "de",
      +  "es",
      +  "hi",
      +  "pt",
      +  "fr",
      +  "ru",
      +  "zh-Hans",
      +  "zh-Hant"
      +]
  5. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "date": "1990-07-04",
      +    "latitude": 28.6139,
      +    "longitude": 77.209,
      +    "time": "10:12:00"
      +  }
      +]
    • changedInput schema / properties / compact / description
      Previous value: -"Set true to receive the exact same data in a token-optimized shape that is cheaper for you to read: whitespace is stripped and every array of same-shaped objects is encoded columnar as {\"__cols\":[field names],\"__rows\":[[values]]}, so each field name is sent once instead of once per row. Fully lossless (no field or value is dropped or changed) and typically 40 to 52 percent fewer tokens on large results. Prefer true whenever token or inference cost matters. Default false returns standard indented JSON."New value: +"Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens."
  6. Changed3 schema fields changed
    • addedInput schema / properties / ayanamsa
      Added value: +{
      +  "default": "lahiri",
      +  "description": "Sidereal frame (ayanamsa) the chart is cast in. \"lahiri\" is Lahiri/Chitrapaksha, the traditional Vedic standard used by most software, and is the default. \"raman\" is the B.V. Raman ayanamsa from Hindu Predictive Astrology, about 1.45 degrees below Lahiri. \"kp-newcomb\" and \"kp-old\" are the two Krishnamurti Paddhati frames. \"custom\" takes your own value in degrees via ayanamsaValue, for reconciling exactly against a specific reference program. The frame rotates the whole zodiac, so a graha sitting within 1.45 degrees of a boundary can change rashi or nakshatra when you switch: pick the one your reference software uses and keep it.",
      +  "enum": [
      +    "kp-newcomb",
      +    "kp-old",
      +    "lahiri",
      +    "raman",
      +    "custom"
      +  ],
      +  "example": "lahiri",
      +  "type": "string"
      +}
    • addedInput schema / properties / ayanamsaValue
      Added value: +{
      +  "description": "Custom ayanamsa value in degrees. When provided, overrides the computed ayanamsa from the selected type. Use for testing with specific ayanamsa values or matching a particular reference source.",
      +  "example": 24,
      +  "type": "number"
      +}
    • addedInput schema / properties / lang
      Added value: +{
      +  "default": "en",
      +  "description": "Response language (ISO 639-1). Supported: en, tr, de, es, hi, pt, fr, ru. Defaults to en. Languages without translations yet return English.",
      +  "enum": [
      +    "en",
      +    "tr",
      +    "de",
      +    "es",
      +    "hi",
      +    "pt",
      +    "fr",
      +    "ru"
      +  ],
      +  "example": "en",
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • changedInput schema / properties / compact / description
      Previous value: -"Return the same data in a token-optimized compact shape (minified, with same-shaped arrays encoded columnar) to reduce LLM token cost. Lossless: no fields are dropped. Default false."New value: +"Set true to receive the exact same data in a token-optimized shape that is cheaper for you to read: whitespace is stripped and every array of same-shaped objects is encoded columnar as {\"__cols\":[field names],\"__rows\":[[values]]}, so each field name is sent once instead of once per row. Fully lossless (no field or value is dropped or changed) and typically 40 to 52 percent fewer tokens on large results. Prefer true whenever token or inference cost matters. Default false returns standard indented JSON."
  8. Changed1 schema field changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "default": false,
      +  "description": "Return the same data in a token-optimized compact shape (minified, with same-shaped arrays encoded columnar) to reduce LLM token cost. Lossless: no fields are dropped. Default false.",
      +  "type": "boolean"
      +}
  9. Changed2 schema fields changed
    • changedInput schema / properties / timezone / anyOf
      Previous value: -[
      -  {
      -    "maximum": 14,
      -    "minimum": -14,
      -    "type": "number"
      -  },
      -  {
      -    "pattern": "^[A-Za-z_]+(?:\\/[A-Za-z0-9_+-]+){0,2}$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 14,
      +    "minimum": -14,
      +    "type": "number"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / timezone / description
      Previous value: -"Timezone: decimal hours from UTC (e.g. 5.5 for IST, -5 for EST) OR IANA name (e.g. \"Asia/Kolkata\", \"America/New_York\"). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5 (IST)."New value: +"Timezone: IANA name (e.g. \"America/New_York\", \"Europe/London\") OR decimal hours from UTC (e.g. -5 for EST, 1 for CET). IANA strings are resolved to the DST-correct offset for the given date, so you can pass `cities[0].timezone` from /location/search directly. Defaults to 5.5."
  10. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description is not required to repeat that. It does add useful context about the specific output components and the astrological framework (BPHS and Raman). However, it does not disclose additional behavioral traits such as error handling, determinism, or performance characteristics. The added value is moderate given the annotations.

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 description is mostly informative and front-loaded with the main purpose and output components. However, it ends with a trailing keyword sentence ('Shadbala calculator API, planetary strength Vedic astrology, graha bala, Ishta Kashta Phala.') that adds no functional value for an agent. This fluff reduces conciseness, though the overall structure is clear and not excessively long.

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?

Given the complexity of Shadbala calculations, the description adequately explains what the tool computes, lists all outputs, and specifies common use cases. The presence of an output schema (as indicated in context signals) covers return-value details. It does not delve into the astrological significance of Shadbala, but that is beyond the scope of tool invocation. Overall, the description is complete enough for an agent to decide when to use it.

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?

The input schema has 100% description coverage across all 9 parameters, including detailed explanations for date, time, location, ayanamsa, and language. The description itself does not add parameter-specific details, but this is acceptable because the schema is comprehensive. The description's mention of components indirectly relates to output rather than inputs, so it adds no extra value beyond the schema.

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 clearly states a specific verb ('Calculate') and a specific resource ('complete Shadbala'), and enumerates the six strength components plus additional outputs (Ishta Phala, Kashta Phala, strength ratio, relative ranking). It distinguishes itself from sibling tools like post_vedic_astrology_bhava_bala by focusing on planetary strength rather than house strength, and explicitly references authoritative sources (BPHS and BV Raman).

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?

The description provides clear use context, stating it is 'essential for evaluating planetary strength in Vedic birth chart analysis, dasha prediction, transit interpretation, and yoga assessment.' However, it does not explicitly mention alternatives or when not to use this tool, such as contrasting with bhava_bala for house strength. The guidance is useful but lacks explicit exclusions.

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