Skip to main content
Glama

astronomy-mcp-server: get sky position

astronomy_get_sky_position
Read-onlyIdempotent

Compute the apparent topocentric position of one solar-system body (sun, moon, mercury through neptune, pluto) or a named bright star for an observer location and instant. Returns equatorial (RA/Dec), refraction-corrected horizontal (altitude/azimuth), and ecliptic coordinates, plus distance, apparent magnitude, angular diameter, phase angle, illuminated fraction, and the constellation it falls in. For a solar-system body it also returns that body card — classification, mean radius, naked-eye visibility — the same values served at astronomy://body/{body}, so a client without resource support does not need a second surface to reach them; a catalog star has no card and the field is absent. Positions are parallax- and aberration-corrected for the given observer; default elevation is 0 m and the default time is now. Supply star (e.g. "Sirius", "Polaris") instead of body to target a catalog star; body is ignored when star is set. Pass an IANA timezone to also receive the observer-local time. This server does not geocode — resolve a place name to latitude/longitude upstream first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoSolar-system body to locate. Omit when targeting a named star via `star`.
starNoNamed bright star to locate (common name or Bayer designation, e.g. "Sirius", "Alpha Centauri"). Takes precedence over `body`.
timeNoInstant of observation as an ISO 8601 UTC string, e.g. "2024-04-08T18:00:00Z". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process.
latitudeYesObserver latitude in decimal degrees, north positive.
timezoneNoIANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only.
elevationNoObserver elevation in meters above sea level. Default 0.
longitudeYesObserver longitude in decimal degrees, east positive.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoThe body or star this position is for, echoed from the request.
errorNoPresent when the call failed. Absent on success.
eclipticNoEcliptic-of-date coordinates of the body.
time_utcNoThe instant of the observation in ISO 8601 UTC.
magnitudeNoApparent visual magnitude (lower is brighter). Null for bodies where the engine cannot compute it.
equatorialNoApparent equatorial coordinates, corrected for precession, nutation, parallax, and aberration.
horizontalNoRefraction-corrected horizontal coordinates as seen from the observer.
time_localNoThe same instant in the observer-local timezone with offset, present only when a timezone was supplied.
body_metadataNoThe body card also served at astronomy://body/{body}, copied here so a client without resource support can reach it. Present for the ten solar-system bodies; absent for a catalog star, which has no card.
constellationNoThe constellation the body currently falls within.
phase_angle_degreesNoSun-body-observer phase angle in degrees. Null when not applicable (e.g. stars).
illuminated_fractionNoFraction of the disc illuminated, 0 to 1. Null when not applicable.
angular_diameter_arcsecNoApparent angular diameter of the disc in arcseconds. Null for point-source convention bodies.

TDQS

A4.2/5.0
Behavior5/5

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

The description discloses far more than the annotations already provide: parallax/aberration correction, refraction-corrected horizontal coordinates, defaults for elevation and time, the UTC interpretation of zone-less time strings, the differing behavior for solar-system bodies (body card included) versus catalog stars (no card, field absent), and the explicit note that the server does not geocode. These are valuable behavioral traits beyond readOnly/idempotent hints, with no contradiction to the annotations.

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?

The description is long but every sentence carries information. It opens with the core function, then lists outputs, then surfaces usage constraints and defaults, and closes with the geocoding caveat. There is no filler or repetition; the dense structure is front-loaded and well ordered.

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?

For a tool with 7 parameters and an output schema, the description is remarkably complete. It covers all required parameters and defaults, the body/star selection model, timezone handling, geocoding limitations, and the difference in return shape between solar-system bodies and stars. Even though an output schema exists, the description adds context that no structured field captures, leaving no critical gap 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 baseline is 3. The prose adds genuinely useful semantics on top: the precedence rule between `star` and `body`, the fact that only solar-system bodies return a body card, and the clarification that `time` without a zone is read as UTC. These go beyond the schema and materially help an agent call the tool correctly, earning a 4.

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 clearly states the verb and resource: compute the apparent topocentric position of a solar-system body or named star for a given observer and instant, and lists the many returned coordinate systems and derived quantities. It is specific enough to distinguish from generic astronomy queries, but it does not explicitly differentiate from siblings such as astronomy_get_ephemeris or astronomy_get_rise_set, so the purpose is clear but the sibling distinction is not explicit.

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 gives useful usage directives: how to select a star versus body, the precedence of `star` over `body`, default time and elevation, and the external requirement that geocoding must be done upstream. However, it never says when to choose this tool over astronomy_get_ephemeris (which likely covers time ranges) or astronomy_get_rise_set, leaving relative usage to inference. It covers some usage conditions but omits explicit alternatives.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a clearly distinct aspect of astronomy: event lookup, ephemeris for small bodies, moon phase, rise/set times, satellite passes, sky position for bodies/stars, and a visible-objects summary. Even overlapping capabilities (e.g., get_sky_position vs. get_ephemeris) are separated by scope (single instant vs. time series, major bodies vs. small bodies). No ambiguity in choosing between tools.

Naming Consistency5/5

All tool names follow a consistent pattern: 'astronomy_' prefix + descriptive verb ('find', 'get', 'list') + object. The verbs are homogeneous (mostly 'get_', plus 'find_events' and 'list_visible'), and the snake_case style is uniform. Predictable and easy to navigate.

Tool Count5/5

Seven tools is a well-scoped number for an astronomy server. Each tool covers a distinct major query type, and none feel redundant or unnecessary. This is within the ideal 3–15 range and feels neither too thin nor too heavy.

Completeness5/5

The tool set covers the full range of common astronomy asks: positions, phases, events, rise/set, satellite passes, and a 'what's up' overview. Small-body ephemerides fill the gap for non-major objects. There are no obvious dead ends; an agent can answer most user questions with these tools alone.