Skip to main content
Glama

ScorpTech x402 Tools

Moon Phase

moon_phase
Read-onlyIdempotent

Moon phase for any moment: phase name and emoji, illuminated fraction, phase angle, age in days since new moon, waxing / waning, Earth-Moon distance and apparent size, the next new moon / first quarter / full moon / last quarter (to a few minutes), and moonrise / moonset for a location and local date (topocentric, parallax and refraction aware). Meeus lunar theory, offline. Returns JSON with: at, phase, emoji, illumination, phaseAngle, elongation, waxing, ageDays. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/moon-phase

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
atNoISO 8601 moment (default now); a bare date means local noon in tz
tzNoIANA zone for output timesUTC
latNoLatitude for moonrise / moonset
lonNoLongitude for moonrise / moonset

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that computation uses Meeus lunar theory offline, rise/set results are topocentric and refraction/parallax aware, and event times are accurate to a few minutes. It also adds a crucial operational detail absent from annotations: the $0.001 USDC per successful call x402 payment on Base or Solana, with an equivalent HTTPS endpoint.

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?

The description is dense and front-loads the core purpose and outputs before the pricing and endpoint details. It is somewhat repetitive, listing the same return quantities once in prose and again as JSON field names, but the redundancy is minor and every substantive detail earns its place.

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?

There is no output schema, so the description must carry return-value information; it does so by listing the returned JSON keys and the quantities they represent. It also covers computation source, accuracy, payment requirements, and an alternate HTTPS access path, making it complete for this tool's complexity.

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 the schema already documents all four parameters including their formats and defaults. The description reinforces that lat/lon are for moonrise/moonset and that calculations are topocentric and refraction aware, but adds only marginal meaning beyond the 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?

The description names a specific resource and scope — moon phase for any moment — and enumerates the exact quantities returned, including illumination, phase angle, age, and rise/set times. It is clearly distinct from the unrelated mathematical sibling tools.

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 clearly states the tool works for any moment and that location plus local date are needed for moonrise/moonset. It does not name alternatives or exclusions, but the context is sufficiently clear and the sibling tools are unrelated.

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