Skip to main content
Glama
meteo-swiss-mcp

meteo-swiss-mcp

by cuolm

astronomy_moon

Read-only

Get moonrise, moonset, phase, and illuminated percentage for a Swiss location and date, answering when the Moon rises or how full it is.

Instructions

        Get when the Moon rises and sets at a place on a day, its phase and how much of it is lit.

        Use this for "when does the moon rise tonight" or "how full is the moon tonight". The
        times are for a level horizon, so in a valley the Moon appears later behind the
        mountains. The day has a moon_phase_time when New Moon, First Quarter, Full Moon or Last
        Quarter happens on it. The lit percent is the one at 12:00.

        Args:
            location (str): Name of a place in Switzerland, e.g. "Zürich".
            date (str): The day, e.g. "2026-09-23".

        Returns:
            dict: the place, the date, moonrise and moonset (None when the Moon does not rise or
                set that day), phase with emoji, phase time when a main phase falls on the day, and lit
                percent.

        Examples:
            astronomy_moon("Zürich", "2026-09-23")
        

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": {
      "location": "<location>",
      "date": "<date>"
    },
    "name": "astronomy_moon"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
nearNoOnly when several places share the name: a village next to the place the user means. For "the Blausee near Bettmeralp" use location "Blausee" and near "Bettmeralp". Leave it out otherwise.
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the read-only and open-world annotations, it discloses important behavioral details: rise/set times assume a level horizon, valley users may see the Moon later, phase times are day-specific, lit percent is measured at 12:00, and rise/set may be None. It does not explicitly state the timezone or whether returned times are local, which is a notable remaining gap for an astronomy tool.

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?

The description is front-loaded with purpose, then structured into Args, Returns, and Examples. Every sentence adds useful information, including caveats and output semantics, with no unnecessary repetition.

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 appropriately explains the return shape, including None rise/set cases and phase-time semantics. It covers two of three parameters in detail and relies on the schema for the near parameter; the only meaningful omission is explicit timezone behavior.

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

Parameters4/5

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

The description adds meaning for location as a place in Switzerland and date as a day such as "2026-09-23," both of which are undocumented in the schema. The near parameter is fully described in the schema rather than in the description, so the overall parameter story is strong but not fully unified.

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 opens with a specific verb-and-resource statement: it returns moonrise and moonset, phase, and lit percentage for a place and day. This clearly distinguishes it from sibling astronomy tools such as astronomy_sun.

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?

It gives concrete usage examples like "when does the moon rise tonight" and "how full is the moon tonight," making the intended context clear. It does not explicitly name alternatives or exclusions, but the use case is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.