Skip to main content
Glama

moon_phase

Read-only

Moon phase, illumination and Moon sign for a date (default today).

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

Input Schema

NameRequiredDescriptionDefault
tzNoIANA time zone for the times in the answer, e.g. Europe/Berlin (default UTC).
dateNoDate as YYYY-MM-DD.
langNoAnswer language (default en). One of: en, de, ro, pl, es, hr, nl, pt-BR, fr, it, ja, id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are covered structurally. The description adds useful context about what is computed and returned and that the date defaults to today, but says nothing about invalid-date handling, timezone edge cases or calculation source.

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?

A single front-loaded sentence listing the three outputs and the default with no filler. Every clause carries information an agent can act on.

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?

For a simple, read-only, zero-required-parameter lookup with a fully described schema and no output schema, the description states what comes back well enough to call it correctly. It is slightly thin on the shape of the answer (e.g. whether illumination is a percentage), 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 coverage is 100%, so tz, date and lang are fully documented in the input schema; the baseline is 3. The description contributes only the 'default today' behavior for date, which is a small but real addition 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 names the concrete outputs (moon phase, illumination, Moon sign) and the input resource (a date), which is enough to separate it from siblings such as sun_sign, sky_now and lunations. It lacks an explicit contrast with those siblings, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is the parenthetical '(default today)', which describes a default rather than when to call this tool. There is no mention of when to prefer it over sky_now, lunations or daily_horoscope, and no stated exclusions or prerequisites.

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