Skip to main content
Glama

Find eclipses

find_eclipse
Read-only

The next (or, with backward: true, the previous) solar or lunar eclipses from date, or now (kind: solar or lunar; count: 1 to 12, default 1): each eclipse's moment in UTC (date_utc) and local time (date_local, on the clock of localZone), with the Sun's and the Moon's sign and degree: the sign the eclipse falls in. How an eclipse looks from a place is not included: place only sets the clock the times are written on, by default the user's own time zone. Used for questions about eclipse dates and signs. place is a city name, with the region or country when needed ("Lisbon Portugal"); a name that matches several cities returns the candidates (place_ambiguous). Each call counts toward one metered message (unlimited on a paid plan; on the Free plan a daily free message, then credits, as get_balance shows) and toward the account's per-minute and per-hour call limits; a call refused for either returns an error result, runs nothing and charges nothing.

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": {
      "kind": "<kind>"
    },
    "name": "find_eclipse"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoWhere the search starts (a bare YYYY-MM-DD starts at the beginning of that day). ISO 8601: YYYY-MM-DD for a day, YYYY-MM-DDTHH:MM for a time on the local clock (24-hour), or a time with an offset or Z (2026-11-15T14:00+01:00, 2026-11-15T13:00Z) for an exact instant. A time without an offset is on the clock of `place` when one is given, else the user's own time zone. Words (now, today, next month) are not accepted. Omitted: NOW.
kindYesREQUIRED. "solar" or "lunar".
countNoHow many eclipses to return, 1 to 12. Default 1.
placeNoOnly the CLOCK the times are written on: an eclipse's moment is the same instant everywhere, and how it looks from a place is not included. Omitted: the user's own time zone. A city name as the user said it, with the region or country when they gave one ("Lisbon Portugal", "Valencia Spain", "Springfield Illinois"); a city name, not coordinates. A name that matches several cities is refused with the candidates (place_ambiguous).
backwardNotrue to search back in time from `date` (previous eclipses). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only annotations it discloses metering (one message per call, Free-plan limits, unlimited on paid), that a rate-limited call returns an error, runs nothing and charges nothing, and that an ambiguous place is refused with candidates. These are material operational facts an agent cannot get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The essential scope and the direction/default of backward are front-loaded, but the definition is one dense multi-clause sentence with nested parentheticals that is harder to parse than it needs to be, plus a long billing clause.

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?

With no output schema, the description compensates by naming the returned fields (date_utc, date_local, sign and degree) and describing the place_ambiguous error path. Combined with billing and rate-limit behavior, an agent has everything needed to call it correctly.

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 coverage is 100%, so the schema already documents date format, kind enum, count range, place format and backward. The description mostly restates these, though it usefully clarifies the direction semantics of backward and the found-in-sign output meaning. Baseline 3 is appropriate since the schema carries the detail.

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?

Opens with a specific verb and resource: returns the next (or previous) solar or lunar eclipses from a date, with count control. It is clearly distinguishable from siblings like get_moon_data or get_transits because the resource is eclipses specifically.

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?

"Used for questions about eclipse dates and signs" gives an explicit use case, and the description rules out a plausible misuse (asking how an eclipse looks from a place). It does not name an alternative sibling for the adjacent cases it excludes, so it stops short of a 5.

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