Skip to main content
Glama

Lookup Kit

sun_moon

Read-only

Sunrise and sunset times, golden hour and moon phase. Sunrise, sunset, dawn, dusk, solar noon, golden hour and day length for any latitude, longitude and date, plus the moon phase, illumination, moonrise and moonset. Computed, no outside source. Times in UTC, or local with zone (IANA, e.g. Europe/Paris). Price: $0.002 per call (x402, USDC on Base).

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": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "sun_moon"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
dateNo
zoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, openWorldHint false), and the description adds genuinely new context: results are computed with no outside source (consistent with openWorldHint false), times default to UTC unless a zone is given, and each call costs $0.002 via x402/USDC on Base. Cost and payment mechanism are exactly the kind of detail annotations cannot express. It stops short of stating rate limits or whether a failed/paid call is refunded.

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?

Front-loaded and information-dense, but the second sentence largely re-enumerates the first (sunrise, sunset, golden hour appear twice), and the pricing/tz notes are tacked on rather than structured. It is not bloated, but roughly a third of the text is restatement.

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?

With no output schema, the description usefully enumerates the returned fields so an agent knows what comes back, and the timezone semantics are spelled out. The remaining gap is the default behavior for the two optional parameters and the shape/units of the response, which an agent would still have to discover by calling.

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 0%, so the description has to carry the load; it does explain that lat/lon are geographic coordinates and that zone takes an IANA identifier with an example (Europe/Paris). However, it never states the date format (the schema's strict YYYY-MM-DD pattern), never mentions the lat/lon valid ranges, and crucially never says what happens when optional date or zone are omitted — a default of today versus an error is left ambiguous.

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?

The description names the exact computations (sunrise, sunset, dawn, dusk, solar noon, golden hour, day length, moon phase, illumination, moonrise, moonset) for a stated input space (any latitude, longitude and date). That is specific enough to separate it from date arithmetic siblings like date_add or days_between without opening the schema.

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?

Scope is implied clearly ('for any latitude, longitude and date'), but there is no explicit when-to-use or when-not guidance and no named alternative. An agent must infer that this is the tool for solar/lunar lookup rather than being told.

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