Skip to main content
Glama

Sunrise Sunset Solar Ephemeris MCP

Get civil, nautical, and astronomical twilight schedule

get_twilight_schedule
Read-onlyIdempotent

Return civil, nautical, and astronomical twilight begin and end timestamps for any coordinate and date.

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_twilight_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional date in YYYY-MM-DD format.
tzidNoOptional IANA timezone ID (default "UTC").
latitudeYesWGS84 latitude.
longitudeYesWGS84 longitude.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds only the scope of the result ('any coordinate and date'); it does not disclose important behaviors such as what happens at high latitudes where a twilight phase may not occur, whether missing phases yield nulls, or the default date when omitted.

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?

One sentence with zero filler, front-loading the verb and the returned quantity. It is efficient, though its terseness contributes to the completeness gaps noted elsewhere rather than being a stylistic flaw.

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 four parameters, two required, and no output schema, the description should carry more of the burden of explaining return behavior and defaults. It names the three twilight phases and the timestamp nature of the output, but omits the default date/tzid behavior and edge cases such as polar latitudes where a phase may be absent.

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%, with latitude/longitude ranges, the YYYY-MM-DD date format, and the IANA tzid default all documented in the schema. The description's phrase 'any coordinate and date' adds no syntax or constraint detail beyond what the schema already provides, 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 uses a specific verb ('Return') plus a precise resource ('civil, nautical, and astronomical twilight begin and end timestamps') scoped to 'any coordinate and date', so an agent knows exactly what comes back. It does not name or distinguish itself from close siblings such as get_solar_times or get_solar_daylight_profile, leaving that differentiation to the name alone.

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?

There is no when-to-use guidance, no stated prerequisites, and no reference to alternatives like get_solar_times or get_solar_daylight_profile. The agent must infer from the name and the sibling list that this tool is the twilight-specific option.

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.