Skip to main content
Glama

compute_synastry

Compare two Vedic charts by computing synastry aspects between every graha in each chart, returning aspect type, orb, and strength to reveal relationship dynamics.

Instructions

Compute synastry — the aspects each graha in one chart makes to each graha in another chart. Every graha in chart A is tested against every graha in chart B (the two charts do not need the same graha names), and each hit is returned with its aspect type, orb in degrees and strength (1.0 at exact, falling linearly to 0.0 at the orb boundary). Orbs are the traditional Lilly values — conjunction, trine and opposition 8°, square 7°, sextile 6°, minors 2° — scaled by orb_factor. Longitudes only: this tool needs no birth time, place or ephemeris.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chart_aYesMap of graha name to sidereal longitude [0, 360) for the first chart, e.g. {"Sun": 10.0, "Moon": 130.0}.
chart_bYesMap of graha name to sidereal longitude [0, 360) for the second chart. Need not use the same names as chart_a.
aspect_setNo'major' (default) tests the five Ptolemaic aspects; 'all' adds semi-sextile, semi-square, quintile, sesquiquadrate, bi-quintile and quincunx.major
orb_factorNoMultiplier on the default orbs. 1.0 (default) is standard, 0.5 is tight. Must be greater than 0 and at most 5.0, above which the major-aspect windows cover every separation.
Behavior5/5

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

No annotations are provided, so the description fully carries the behavioral disclosure burden. It does so thoroughly: every graha in chart A is tested against every graha in chart B, each hit includes aspect type, orb, and strength, strength is defined mathematically, and orbs use traditional Lilly values scaled by orb_factor. This gives an agent a precise model of the tool's computation and output.

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?

The description is dense but well-organized: it states the core computation first, then output details, then configuration constants, then input requirements. Every sentence adds necessary information, and nothing is redundant with the schema.

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

Completeness5/5

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

For a stateless computation tool with no output schema, the description is impressively complete. It explains the input format conceptually, the matching algorithm, the exact output fields, the orb values, the orb_factor behavior, and the fact that birth data is unnecessary. An agent has enough to call the tool correctly and interpret its results.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds meaningful value. It supplies the actual Lilly orb values, explains how strength decays from 1.0 to 0.0, and clarifies that orb_factor scales the whole set. These details go beyond the schema's terse descriptions and improve invocation correctness.

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 and resource: 'Compute synastry — the aspects each graha in one chart makes to each graha in another chart.' It clearly defines the pairwise cross-chart computation and differentiates it from single-chart tools like compute_natal_chart or compute_dasha. The mention that the two charts need not share graha names removes ambiguity about the matching logic.

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 usage context by stating that only longitudes are needed and that no birth time, place, or ephemeris is required. However, it does not explicitly contrast this tool with related multi-chart alternatives such as compute_composite, nor does it state when to choose one over the other.

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