Skip to main content
Glama

Check a Sun or Moon position

check_ephemeris
Read-onlyIdempotent

Check a claimed Sun (sun/soleil) or Moon (moon/lune) position for UTC time/location using NOAA/Meeus approximations and lunar parallax. Returns model-conditional angular consistency and lunar phase.

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": {
      "date_utc": "<date_utc>",
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "claimed_azimuth_deg": "<claimed_azimuth_deg>",
      "claimed_elevation_deg": "<claimed_elevation_deg>"
    },
    "name": "check_ephemeris"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectNolune
date_utcYesUTC instant, exactly YYYY-MM-DDTHH:MM:SSZ, e.g. 2026-06-21T12:00:00Z
latitudeYesDegrees, north positive
longitudeYesDegrees, east positive
tolerance_degNo
claimed_azimuth_degYes
claimed_elevation_degYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / object / enum
      Previous value: -[
      -  "soleil",
      -  "lune"
      -]New value: +[
      +  "soleil",
      +  "lune",
      +  "sun",
      +  "moon"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / date_utc / description
      Added value: +"UTC instant, exactly YYYY-MM-DDTHH:MM:SSZ, e.g. 2026-06-21T12:00:00Z"
    • addedInput schema / properties / latitude / description
      Added value: +"Degrees, north positive"
    • addedInput schema / properties / longitude / description
      Added value: +"Degrees, east positive"
  3. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish the safe, read-only, idempotent, closed-world profile, so the description's burden is lighter. It still adds real value beyond them by disclosing the computational basis (NOAA/Meeus approximations, lunar parallax) and the shape of the result (angular consistency plus lunar phase), signalling that answers are model-dependent approximations rather than exact ephemerides.

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?

Two tight sentences with no filler, and the core purpose is front-loaded before the method and return details. 'Model-conditional angular consistency' is slightly jargon-heavy but the packaging is efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With seven parameters, five of them required, and no output schema, the description is only marginally sufficient: it names the two return elements but does not say what an inconsistency result looks like or how tolerance_deg affects the verdict. It is callable from this definition, but an agent would have to guess at the tolerance semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 43%, so the description would need to carry parameter meaning, but it only supplies the enum aliases (sun/soleil, moon/lune) for the object parameter. Nothing explains tolerance_deg (the acceptance threshold) or claimed_azimuth_deg/claimed_elevation_deg conventions, leaving four parameters undocumented in both places.

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 gives a specific verb and resource: checking a claimed Sun or Moon position against computed values, with the method (NOAA/Meeus approximations plus lunar parallax) named. That distinguishes it adequately from nearby siblings like check_shadow_track or plan_observation, though it never explicitly contrasts itself with any of them.

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 word 'claimed' implies the use case is validating an externally supplied position rather than computing one from scratch, which is useful implied guidance. However, there is no explicit statement of when to prefer this over alternatives, and no prerequisites or exclusions are given.

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.

Resources