Skip to main content
Glama

sky_tonight

Real sky for a place and night: sunrise/sunset, moonrise/moonset, true moon phase and illumination, and the best dark window for stargazing. Computed from first principles (no key, no ephemeris file).

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": "sky_tonight"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in degrees (-90..90)
lonYesLongitude in degrees (-180..180)
whenNoISO date/time to use instead of now (optional)
tz_offsetNoHours offset from UTC (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does usefully disclose that results are computed from first principles with no API key or ephemeris file required, which tells the agent about dependency and latency characteristics. It never states that the tool is read-only and side-effect free, nor whether results are approximate or how locations are resolved.

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?

Two sentences, no filler, and the payload of returned values is front-loaded in the first sentence while the implementation note is relegated to the second. Every clause earns its place.

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?

There is no output schema, and the description compensates well by enumerating the returned quantities. The remaining gap is sibling disambiguation against moon_phase and sky_at, which matters in a family of eight astronomy tools, plus silence on read-only safety.

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 lat, lon, when, and tz_offset all documented including valid ranges, so the baseline is 3. The description only gestures at the parameters via 'a place and night' and adds no formatting or defaulting detail beyond the schema.

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?

Names a specific resource and enumerates exactly what is returned (sunrise/sunset, moonrise/moonset, phase and illumination, dark window), which is more than a restatement of the name. It stops short of distinguishing itself from close siblings like moon_phase or sky_at, so an agent still has to infer the difference.

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?

'For a place and night' implies the usage context (single location, single evening), but there is no explicit statement of when to prefer this over moon_phase, sky_at, or sky_seeing, and no note about when it would be the wrong choice. Usage is inferable but not guided.

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