Skip to main content
Glama

AstroNest — Vedic Astrology & Ephemeris

Sunrise and sunset

get_ephemeris_sunrise
Read-onlyIdempotent

Use this when you need sunrise and sunset for a date and place, or where the Vedic day begins. Sunrise, sunset and the next sunrise for a local date and place: upper limb at the sea-level horizon with 36.6′ refraction. The Vedic day runs from sunrise to the next sunrise. Cost: 0.1 credit per call, billed as 1 credit per started block of 10 Ephemeris calls (only successful calls are charged; a sandbox key is free and returns a fixed sample). Deterministic: the same input always gives the same answer. Example arguments: {"date":"2026-10-06","timezone":"Asia/Kolkata","latitude":28.6139,"longitude":77.209}

Input Schema

NameRequiredDescriptionDefault
dateYesLocal calendar date, YYYY-MM-DD.
latitudeYesGeographic latitude in decimal degrees, north positive.
timezoneYesIANA name, e.g. Asia/Kolkata. Defines the local day.
longitudeYesEast positive.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds material context the annotations cannot: cost model (0.1 credit/call, billed per 10-call block, only successful calls charged, free sandbox key with fixed sample) and determinism. That is exactly the kind of operational disclosure an agent needs before spending credits.

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

Conciseness4/5

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

Front-loaded with the when-to-use clause, then the precise geometric definition, cost, determinism, and an example. Well ordered and mostly tight; the billing sentence is the longest but earns its place for a paid tool.

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?

An output schema exists, so return values need not be re-described, and the description covers everything else an agent needs: when to call it, the exact astronomical convention, cost, determinism, and a sample invocation. Complete for a 4-param read-only computation.

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% and all four parameters carry their own descriptions (date format, IANA timezone, lat/long sign conventions), so the schema does the heavy lifting. The description's example arguments add a concrete usage pattern but no new constraint or syntax 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?

Names a specific computation (sunrise, sunset, and next sunrise) for a given date and place, and precisely defines what 'sunrise' means here (upper limb at sea-level horizon with 36.6′ refraction). This distinguishes it from generic ephemeris siblings like get_ephemeris_positions or get_ephemeris_angles.

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?

'Use this when you need sunrise and sunset for a date and place, or where the Vedic day begins' gives clear triggering context, including the Vedic-day use case that motivates the tool. It stops short of naming which sibling to use instead when the agent wants angles or planetary positions, so no 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.