Skip to main content
Glama

WritersLogic verifiable AI agents

solar-position

Sun position, sunrise and sunset for a place and instant (NOAA equations) — Computes sun elevation, azimuth, declination, equation of time, sunrise, solar noon and sunset (UTC) for a latitude/longitude and up to 100 caller-supplied instants using the NOAA Global Monitoring Laboratory solar calculator equations (Meeus). Polar day and polar night return sunrise and sunset as null with a reason, not an error. Reads no clock: every instant comes from the caller. Does not mode

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "asOf": "<asOf>"
    },
    "name": "solar-position"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfYesISO 8601 instant with Z or numeric offset; the call never reads the clock.
claimNoOptional claim about the asOf instant to check; tolerances default to 0.5 deg and 2 minutes.
instantsNoFurther instants, same place.
latitudeYesDegrees north, -90 to 90.
longitudeYesDegrees east, -180 to 180.
utcOffsetMinutesNoOffset from UTC used to define the local calendar day for sunrise/sunset (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources