Skip to main content
Glama

Get Moon data

get_moon_data
Read-only

The Moon at a moment (date, or now). Without phase, its STATE: sign and degree, phase name, illumination, phase angle, age in days and lunar day, waxing or waning, and the previous, current and next void-of-course windows when covered by the calendar. With phase (new_moon, first_quarter, full_moon or last_quarter), the EXACT next time the Moon reaches it after date, in UTC (dateUtc) and local time (dateLocal, on the clock of localZone), with the Sun's and the Moon's sign and degree at that moment. The Moon's sign and phase are the same everywhere on Earth: place (a city name) only sets the clock the times are written on, by default the user's own time zone. Used for questions about the Moon's sign, phase or the next lunation. Each call counts toward one metered message (unlimited on a paid plan; on the Free plan a daily free message, then credits, as get_balance shows) and toward the account's per-minute and per-hour call limits; a call refused for either returns an error result, runs nothing and charges nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_moon_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSTATE: the moment to read the Moon at. FIND: where the search starts (a bare YYYY-MM-DD starts at the beginning of that day). ISO 8601: YYYY-MM-DD for a day, YYYY-MM-DDTHH:MM for a time on the local clock (24-hour), or a time with an offset or Z (2026-11-15T14:00+01:00, 2026-11-15T13:00Z) for an exact instant. A time without an offset is on the clock of `place` when one is given, else the user's own time zone. Words (now, today, next month) are not accepted. Omitted: NOW.
phaseNoSet: FIND the exact next new moon, first quarter, full moon or last quarter after `date`. Omitted: the Moon's STATE at `date` (sign and degree, phase, illumination, age and lunar day).
placeNoOnly the CLOCK the times are written on: the Moon's sign and phase are the same everywhere on Earth. Omitted: the user's own time zone. A city name as the user said it, with the region or country when they gave one ("Lisbon Portugal", "Valencia Spain", "Springfield Illinois"); a city name, not coordinates. A name that matches several cities is refused with the candidates (place_ambiguous).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses expensive behavior an agent must plan around: each call consumes a metered message, free-plan daily limit, per-minute/per-hour call limits, and that a refused call returns an error result while running and charging nothing. It also flags the place_ambiguous refusal path.

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?

Purpose and the two modes are front-loaded, then parameters and cost. It is dense and reads as one long block, but every clause (including the metering note) carries weight; minor trimming of repeated place/timezone phrasing would help.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description enumerates the returned fields for both modes (sign/degree, phase, illumination, age, void-of-course windows; dateUtc/dateLocal, Sun/Moon positions). All three parameters are covered and the cost/limit caveats are stated, leaving nothing essential unaddressed.

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?

Schema coverage is 100%, so a baseline 3 is warranted, but the description adds real meaning: `place` 'only sets the clock' and does not affect sign/phase, `phase` triggers a forward search rather than a snapshot, and `date` is the search start in that mode. These are interpretive glosses beyond field-level text.

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 states a concrete verb+resource and then splits the tool's two modes explicitly: 'Without `phase`, its STATE' versus 'With `phase` ... the EXACT next time the Moon reaches it.' An agent can tell it apart from chart/lunar-return siblings at a glance.

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 a clear usage sentence: 'Used for questions about the Moon's sign, phase or the next lunation,' and explains the condition selecting each mode (phase set vs omitted). It never names a concrete sibling to defer to, so it stops short of explicit alternatives.

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