Skip to main content
Glama

astronomy-mcp-server: list visible bodies

astronomy_list_visible
Read-onlyIdempotent

The one-call "what is up right now" answer. For an observer location and instant, iterate every naked-eye solar-system body (and, with include_stars, the bundled bright stars), compute altitude and azimuth, keep those above the horizon, rank them brightest-and-highest first, and attach a plain-language visibility note to each. The whole sky is gated by the Sun's altitude into daylight / civil / nautical / astronomical twilight / dark, returned alongside the list. time is a single evaluation instant, not a window — for "tonight" pass a time after astronomical dusk (use astronomy_get_rise_set on the sun to find it). Default elevation 0 m; use min_altitude to skip objects grazing the horizon. This server does not geocode — resolve coordinates upstream first; pass an IANA timezone for observer-local times on each body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeNoEvaluation instant as an ISO 8601 UTC string, e.g. "2024-08-12T05:00:00Z". Defaults to now. A single instant, not a window. 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.
min_altitudeNoMinimum altitude in degrees to include a body. Default 0 (above the horizon); use e.g. 5 to require clearance.
include_starsNoInclude the bundled bright stars alongside planets. Default false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
bodiesNoEvery body (and optional star) above the minimum-altitude filter, ranked brightest-and-highest first.
total_countNoNumber of bodies returned above the minimum-altitude filter.
sky_conditionNoSky condition derived from the Sun's altitude — the gate for whether faint objects are observable.
sun_altitude_degreesNoThe Sun's altitude in degrees that produced the sky condition.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description need not repeat safety. It adds valuable behavioral detail: time is 'a single evaluation instant, not a window,' results are ranked 'brightest-and-highest first,' sky gating is based on Sun's altitude, and default elevation/min_altitude semantics are explained. The geocoding limitation is also disclosed. No contradiction with annotations.

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?

The description is a bit long but well-organized: the opening sentence delivers the core purpose, followed by process, time semantics, elevation guidance, and a geocoding caveat. It is front-loaded with the most important information and each sentence earns its place by either clarifying semantics or giving usage direction. Slightly more verbose than necessary, but structure compensates.

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 covers everything an agent needs to invoke it correctly: the evaluation procedure, the meaning of `time` as a single instant, how to handle 'tonight,' default elevation, min_altitude for horizon filtering, include_stars behavior, and the upstream geocoding requirement. The output schema handles return details. Nothing essential is left unstated.

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 parameters are already documented. The description enriches semantics beyond the schema: it clarifies that `time` must be a single instant and suggests using it after astronomical dusk for 'tonight' queries, and it explains that `min_altitude` is for skipping horizon-grazing objects. This adds decision-relevant context not present in the raw schema field descriptions.

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 opens with a crisp one-line purpose: 'The one-call “what is up right now” answer,' then details the algorithm (iterate bodies, compute altitude/azimuth, filter above horizon, rank brightest-and-highest). It clearly distinguishes itself from sibling tools like astronomy_get_ephemeris or astronomy_get_rise_set by focusing on the aggregate visible-sky snapshot. The verb (list) and resource (visible bodies) are 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?

The description gives concrete usage context: for 'tonight,' it instructs to pass a time after astronomical dusk and points to astronomy_get_rise_set on the Sun as the way to find that time. It also notes the server does not geocode, advising to resolve coordinates upstream. While it doesn't enumerate every alternative tool, it implicitly separates this from ephemeris/rise-set tools by framing it as the quick sky summary.

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.