Skip to main content
Glama

Sunrise Sunset Solar Ephemeris MCP

Get solar sunrise and sunset times

get_solar_times
Read-onlyIdempotent

Return sunrise, sunset, solar noon, and day length in seconds and hours for any coordinate and optional date or timezone.

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>"
    },
    "name": "get_solar_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional date in YYYY-MM-DD format (defaults to today).
tzidNoOptional IANA timezone ID (e.g. "America/Los_Angeles", default "UTC").
latitudeYesWGS84 latitude in decimal degrees (e.g. 37.7749).
longitudeYesWGS84 longitude in decimal degrees (e.g. -122.4194).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered structurally. The description earns credit for disclosing return values and their units (seconds and hours), which matters since there is no output schema, but it says nothing about edge-case behavior at extreme latitudes (polar day/night), invalid coordinate handling, or precision.

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?

A single sentence that front-loads the verb and the returned quantities, with the unit disclosure and input scope packed in without filler. Nothing can be removed without losing information.

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?

For a 4-parameter, fully documented read-only tool with no output schema, the description adequately covers what is returned and in what units. The remaining gap is behavioral edge cases at high latitudes and failure modes, which a caller computing daylight would reasonably want to know.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents latitude/longitude ranges, the YYYY-MM-DD date default, and the IANA tzid default. The description only restates that coordinate, date, and timezone are accepted, adding no format or default details beyond the schema, so the baseline 3 applies.

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 names a specific verb ("Return") and enumerates the exact quantities produced: sunrise, sunset, solar noon, and day length, scoped to any coordinate with optional date or timezone. That is enough to distinguish it from a twilight-schedule or daylight-profile tool by output content, though it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states applicable scope (any coordinate, optional date or timezone) but gives no when-to-use guidance, no exclusions, and no pointer to alternatives such as get_twilight_schedule or get_solar_daylight_profile. An agent must infer selection from the returned fields alone.

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.