Skip to main content

Remedies

asterwise_get_remedies

Derives classical remedial prescriptions from planetary weakness and dusthana lordship and returns mantra, lifestyle, charity, and dignity tables.

Parameters​

ParameterTypeRequiredDescription
birthobjectyesBirth data for a single person. Fields: date, time, lat, lon*, person_name, timezone, ayanamsa
response_formatenum: markdown, jsonnoOutput format: 'markdown' (default) for a readable report, or 'json' for the raw structured payload.

What it covers​

Builds data.recommended_remedies[] for grahas judged weak or afflicted plus data.planet_dignities[] for all nine planets. It is not Lal Kitab totka advice (asterwise_get_lal_kitab_remedies) nor a curated gem safety brief (asterwise_get_gemstone_recommendations). Empty recommended_remedies[] means no weak planets were flagged — not an error.

Workflow​

BEFORE: RECOMMENDED — asterwise_get_natal_chart — chart context before choosing remedies.
AFTER: asterwise_get_gemstone_recommendations — optional focused gem briefing.

Input​

BirthData follows the global contract.

Output contract​

data.recommended_remedies[] — each object:
planet (string)
dignity (string — e.g. 'debilitated', 'enemy', 'neutral')
rashi (string)
house (int)
is_dusthana_lord (bool)
reason (string)
mantra (string)
repetitions (int — typically 108)
deity (string)
gemstone (string)
colour (string)
metal (string)
fast_day (string)
charity (string)
action_daily (string)
action_weekly (string)
data.planet_dignities[] — nine objects: planet, dignity, rashi, house (int)

Response format​

response_format=json serialises the complete response as indented JSON — use this for programmatic parsing, typed clients, and downstream tool chaining. response_format=markdown renders the same data as a human-readable report. Both modes return identical underlying data — no fields are added, removed, or filtered by either mode.

Compute class​

MEDIUM_COMPUTE

Errors​

INVALID_PARAMS (local — caught before upstream call):
None — all validation is upstream.

INVALID_PARAMS (upstream):
— Dates before 1800 or after 2100 → MCP INTERNAL_ERROR at the tool layer.

INTERNAL_ERROR:
— Any upstream API failure or timeout → MCP INTERNAL_ERROR

Edge cases:
— Empty data.recommended_remedies[] when no weak grahas — valid success.

Do not confuse with​

asterwise_get_lal_kitab_remedies — household Lal Kitab totkas, not mantra/gem classical rows.
asterwise_get_gemstone_recommendations — gemstone roles and contraindications only, not full lifestyle remedies.

Connect​

Remote MCP endpoint: https://mcp.asterwise.com/mcp. Authenticate with Authorization: Bearer <API key> or OAuth. See the MCP setup guide.