Skip to main content
Glama
adityarya24

Astro Skill MCP Server

Generate JSON Report

generate_report_json

Assemble a structured astrology report draft from birth chart data and optional dashas, panchang, or transits, then write it to disk as JSON.

Instructions

Assemble a structured astrology report draft (birth chart summary plus optional dasha/panchang/gochar sections) and write it to disk as JSON. Returns the report record: report_id, path of the written file, client_id, and created_at.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashaNoOptional dasha JSON from calculate_dasha; adds the dasha timeline section.
gocharNoOptional gochar JSON from calculate_gochar; adds the transit section.
db_pathNoSQLite store to record the report in; when omitted the report is only written to disk.
kundaliYesKundali JSON exactly as returned by the calculate_kundali tool.
languageNoReport language: 'hin' or 'hi' for Hindi (Devanagari), 'en' for English.hin
panchangNoOptional panchang JSON from calculate_panchang; adds the panchang section.
client_idNoClient identifier the report is filed under.anonymous
output_dirNoDirectory the report file is written into (default: data/reports).
client_nameNoClient/native name shown on the PDF cover page
Behavior3/5

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

Annotations (readOnlyHint=false, destructiveHint=false) indicate a non-destructive write operation. The description adds that it writes to disk and optionally records in a database, and returns a record with path. However, it does not disclose file overwrite behavior, naming conventions, or idempotency (e.g., whether calling twice overwrites or errors). This is a gap given the lack of idempotentHint annotation.

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 only: the first covers the action and optional sections, the second describes the return value. Every sentence is informative and there is no wasted text. Very concise and front-loaded with the core purpose.

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 tool has 9 parameters (only 1 required) and no output schema, the description does well by listing the return fields (report_id, path, client_id, created_at). It also notes that db_path is optional. However, it does not mention that kundali must come from calculate_kundali (though schema says 'exactly as returned'), and it omits default values for output_dir and client_id (though present in schema). Overall, it covers the essentials for a complex tool.

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 each parameter is already described. The description adds further context by explaining that optional dasha, gochar, and panchang parameters 'adds the [section]', which clarifies their purpose beyond the schema. This enhances the semantic value beyond the schema alone.

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 uses a specific verb ('Assemble... and write') and names the resource ('structured astrology report draft as JSON'), clearly distinguishing it from siblings like generate_pdf_report (which produces PDF) and calculate_* tools (which only compute components). It also mentions optional sections, aligning with parameters.

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?

The description implies this tool is for generating JSON reports when the user wants programmatic access, while siblings like generate_pdf_report are for visual output. However, it does not explicitly state when to use this tool versus alternatives, nor does it specify prerequisites or exclusions (e.g., 'Use this if you need the report as JSON; use generate_pdf_report for a PDF'). The guidance is implicit and could be clearer.

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/adityarya24/astro-skill'

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