Skip to main content
Glama

weather_stargazing

Read-only

Stargazing forecast (US) — Best nights and hours to see the stars at a US location: NOAA/NWS hourly sky cover, precip chance, visibility and temperature combined with an offline sun and moon ephemeris (astronomical darkness, moon altitude and illumination). Each night gets a 0-100 score, a rating EXCELLENT/GOOD/FAIR/POOR/CLOUDED OUT, the longest clear dark window, moon phase and the best hour, plus an overall GO/MAYBE/NO-GO. lat+lon or place; optional nights=1-6 (default 3), max_sky=0-100 cloud-cover limit (default 30), hours=true for the hourly rows. Example: /v1/weather/stargazing?lat=31.96&lon=-111.60&nights=5 Price: $0.003 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
latYes31.96
lonYes-111.60

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds real value beyond that by naming the underlying data sources, the scoring/rating scheme, and the per-call price ($0.003 USDC via x402), which an agent needs to know before invoking. It omits error behavior, coverage limits within the US, and what happens when no night meets the cloud threshold.

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?

Dense but front-loaded: the core purpose and the US scope come first, then the data sources, then the outputs, then parameter defaults and the example. The main cost is a long run-on sentence packing several output fields together, and the pricing rider at the end, but no sentence is purely filler.

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?

There is no output schema, and the description does a good job enumerating the return fields, so return-value understanding is largely covered. However, with only two required parameters and a schema that documents them minimally, the description's drift from the actual schema (place, nights, max_sky, hours) leaves the caller without a reliable contract for invocation.

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

Parameters2/5

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

The input schema contains only lat and lon (with placeholder examples '31.96'/'-111.60'), yet the description advertises 'lat+lon or place' plus optional nights=1-6, max_sky=0-100 and hours=true — parameters that do not exist in the schema. An agent following the description could emit unsupported arguments or assume a `place` string is accepted, so the text actively misleads rather than compensating for the thin schema.

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?

States a specific resource and deliverable: a stargazing forecast for a US location, combining NWS sky cover/precip/visibility/temperature with an offline sun-moon ephemeris. It enumerates the concrete outputs (0-100 score, EXCELLENT..CLOUDED OUT rating, longest clear dark window, moon phase, best hour, GO/MAYBE/NO-GO), which clearly separates it from generic forecast siblings like weather_hourly or weather_forecast.

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?

The scoping constraint '(US)' and the stated purpose (best nights and hours to see stars) give a clear context for use, plus a worked example URL. It does not name an alternative for non-US locations or for adjacent planning tasks (e.g. weather_outdoor_plan), so the agent must infer the boundary rather than being told it.

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