Skip to main content
Glama

Get Next Moon Phase Occurrence

astro_get_next_moon_phase
Read-onlyIdempotent

Find the date(s) of the next occurrence(s) of a principal moon phase (New Moon, First Quarter, Full Moon, Last Quarter) from a starting date.

Use for: "when is the next full moon?", planning around spring tides (which follow new/full moons by 1–2 days).

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": {
      "phase": "<phase>"
    },
    "name": "astro_get_next_moon_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSearch start date (YYYY-MM-DD). Defaults to today.
countNoHow many occurrences to return.
phaseYesWhich principal phase to find.
response_formatNoOutput format: "markdown" for a readable summary table, "json" for the complete structured payload.markdown

Output Schema

NameRequiredDescriptionDefault
_responseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "_response": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "contractVersion": {
      +          "const": "2026-09-29.1",
      +          "type": "string"
      +        },
      +        "status": {
      +          "const": "complete",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "contractVersion",
      +        "status"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "_response"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds domain context (spring tides following new/full moons by 1-2 days) but says nothing about performance, date-range limits, or what happens when the start date is far in the past.

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 short, front-loaded blocks: the capability statement first, then a compact 'Use for:' list. Every sentence carries information and there is no filler.

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 a full input schema and an output schema present, the description needn't explain return values, and it correctly focuses on purpose and use cases. It could be slightly more complete by noting the count cap or how the start date interacts with past dates, but nothing essential is missing.

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 patterns, enums, defaults and min/max all documented, so the baseline of 3 applies. The description reinforces that the date is a 'starting date' and lists the phase names, but adds no formatting or edge-case 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?

The description opens with a specific verb+resource ('Find the date(s) of the next occurrence(s) of a principal moon phase') and enumerates the four valid phases, so the agent knows exactly what is returned. It implicitly separates itself from a current-phase lookup by stressing 'next occurrence from a starting date', though it never names the sibling astro_get_moon_phase.

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 'Use for:' block gives two concrete usage contexts, including a natural-language query example ('when is the next full moon?') and a domain application (planning around spring tides). There is no explicit when-not guidance or pointer to an alternative tool for current-phase or sun-event queries.

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.