Skip to main content
Glama

Astro Agents - research-grade astronomical data API

The sky now: positions, Moon phase, next events

sky_now
Read-onlyIdempotent

The sky now (no location needed): planet positions, retrograde planets and the Moon phase, plus the exact UTC minute of the next stations, lunations and separations. E.g. {datetime: '2026-10-01T00:00Z', days: 30}. One call for 'what is happening in the sky': positions, retrograde planets, the Moon's phase, and the events of the next days (1-90): stations, lunations, separations of 0, 60, 90, 120 and 180 degrees, and ecliptic longitudes crossing multiples of 30 degrees, each to the minute (UTC). Deterministic (JPL DE440, no LLM); every result carries meta.result_sha256. Price $0.01 per call via REST POST https://astro-agent.dev/v1/astronomy/sky (x402 or MPP); each client gets 1 free call on the $0.01-0.02 tools, this one included.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sky_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD (use with 'time' instead of 'datetime').
daysNoHow many days ahead to list events. Example: 30.
timeNoHH:MM or HH:MM:SS, 24 h. Omit if unknown (computed at 12:00 with a TIME_UNKNOWN warning).
datetimeNoLocal civil date-time, ISO 8601: '1990-05-15T14:30' (local clock time at the place) or with an explicit offset '1990-05-15T14:30:00+02:00'. Alternative: 'date' + 'time'.
latitudeNoDecimal degrees, north positive.
timezoneNoIANA zone, e.g. 'Asia/Kolkata'. Optional: resolved from the coordinates, with the historical offset (DST, Local Mean Time) of that date.
longitudeNoDecimal degrees, east positive.
time_basisNoWhat the given clock time is: civil wall-clock (default), UTC, Local Mean Time, or true (apparent) solar time.civil
ambiguous_timeNoWhich occurrence to use when a local time happens twice (DST fall-back).earlier

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.1/5.0
Behavior5/5

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

Goes well past the annotations: states determinism (JPL DE440, no LLM), that every result carries meta.result_sha256, the price ($0.01/call), the payment paths (x402 or MPP), the REST endpoint, and that one free call is included. Cost and payment requirements are exactly the kind of operational context annotations cannot carry.

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?

Front-loaded with the outcome, but the content list is stated twice (positions, retrograde planets, Moon phase appear in both the opening and the 'One call for' sentence), and pricing/payment detail is packed into the same block. The inline JSON example sitting mid-sentence interrupts flow; tightening would make it noticeably sharper.

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?

With an output schema present and 9 fully documented parameters, the description only needed to add scope, cost, and provenance, all of which it does. A minor gap is that the events list vs. the 'no location needed' framing is left for the agent to reconcile against the coordinate parameters.

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 coverage is 100%, so baseline is 3; the description earns an extra point by showing a worked call example with datetime and days and by enumerating the event types those parameters govern (0/60/90/120/180 degree separations, 30-degree longitude crossings). It does not resolve the tension of claiming 'no location needed' while latitude/longitude/timezone exist, leaving the agent to infer those are for local-time resolution only.

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?

Names concrete outputs: planet positions, retrograde planets, Moon phase, and minute-exact UTC events (stations, lunations, separations). 'One call for what is happening in the sky' signals it aggregates what siblings like celestial_events or moon_details cover, but no sibling is named, so differentiation is inferred rather than explicit.

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?

Gives a clear scenario ('what is happening in the sky') and a bounded horizon (1-90 days), plus 'no location needed', which tells the agent it can call without coordinates. It stops short of naming when to prefer a narrower sibling such as celestial_events or moon_details, 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.