Skip to main content
Glama

Astro Agents - research-grade astronomical data API

Celestial event calendar (eclipses, stations, lunations)

celestial_events
Read-onlyIdempotent

Celestial event calendar: the exact UTC minute and unix timestamp of every solar and lunar eclipse, planetary station (retrograde / direct), lunation and separation between two dates, 1800-2200. E.g. {start: '2026-01-01', end: '2026-12-31', include: ['eclipse', 'station']}. A calendar of exact events between two dates: solar and lunar eclipses (type and magnitude), stations (retrograde / direct), new and full Moons and quarters, separations between planets at chosen angles, ecliptic longitudes crossing multiples of 30 degrees, equal / opposite declinations, and declinations passing the obliquity of the ecliptic. Geocentric or heliocentric. Each event has its UTC minute, a unix timestamp and a stable key. Deterministic (JPL DE440, no LLM); every result carries meta.result_sha256. Price $0.25 per call via REST POST https://astro-agent.dev/v1/astronomy/events (x402 or MPP); always paid, never a free call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "celestial_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesLast UTC date, YYYY-MM-DD, at most 366 days after start (inclusive).
startYesFirst UTC date, YYYY-MM-DD, 1800..2199. Example: '2024-01-01'.
anglesNoSeparation angles in degrees, 'all' or a list from [0, 30, 45, 60, 72, 90, 120, 135, 144, 150, 180]. Default: [0, 60, 90, 120, 180].
bodiesNoPlanets searched. Default: Sun..Pluto (geo), Mercury..Pluto with Earth (helio).
includeNoEvent types. Default: all that apply to the perspective. 'separation': two bodies reach one of the 'angles'; 'longitude_crossing': a body's ecliptic longitude crosses a multiple of 30 degrees; 'declination': equal or opposite declinations; 'declination_beyond_obliquity': |declination| passes the obliquity of the ecliptic; 'station', 'lunation', 'eclipse'.
perspectiveNo'geocentric' (default) or 'heliocentric'. Heliocentric gives separations and longitude crossings only (no stations, lunations or eclipses).geocentric
include_moonNoAlso the Moon's separations, longitude crossings and declination events (geocentric only; many more events).

Output Schema

NameRequiredDescriptionDefault
metaNoProvenance of the result.
errorNox402 offer only: why payment is required.
resultNoThe calculation result.
acceptsNox402 offer only: the payment options (scheme, network, amount, asset, payTo, ...).
endpointNoThe REST route that computed it, e.g. 'astronomy/rise-set'.
resourceNox402 offer only: the resource being paid for.
extensionsNox402 offer only: protocol extensions (bazaar).
x402VersionNox402 offer only: protocol version (2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses that results are deterministic from JPL DE440 with no LLM, that every result carries a meta.result_sha256 for verification, and that each event has a stable key plus UTC minute and unix timestamp. It also discloses the commercial model — $0.25 per call, always paid, never free — and the underlying REST endpoint, which is exactly the cost/routing context an agent needs before invoking.

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 key facts are front-loaded, but the text repeats its event inventory almost verbatim in the first and second sentences ('eclipses, stations, lunations' vs. the full 'solar and lunar eclipses … stations … new and full Moons and quarters' list). The final sentence is a dense run-on bundling determinism, hashing, pricing and transport, so several sentences do not fully earn their place.

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?

With an output schema present, return-value documentation is not required, and everything else an agent needs for a 7-parameter paid tool is covered: date bounds, event taxonomy, perspective caveats, determinism, cost and a verification hash. Nothing essential is missing for correct invocation.

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 schema already carries the per-parameter meaning and defaults, establishing a baseline of 3. The description adds a concrete example argument object and reinforces the 1800-2200 date envelope, which clarifies how the params compose in practice without introducing new semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (celestial event calendar) and enumerates the exact event classes it returns — eclipses, stations, lunations, separations, longitude crossings, declination events — over a bounded 1800-2200 window. An agent can tell it is a bulk calendar-of-events tool rather than a single-body query. It stops short of explicitly contrasting itself with look-alike siblings such as local_eclipse or planetary_phenomena.

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?

Usage is only implied: the worked example ({start, end, include}) shows the intended calling shape, and the perspective paragraph explains that heliocentric mode yields only separations and longitude crossings. There is no statement of when to prefer this tool over angular_separations, local_eclipse or planetary_phenomena, and no exclusions offered.

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.