Skip to main content
Glama

Sun and Earth geometry at a lunar site (reference: CSPICE N0067)

lunar_site_geometry
Read-only

[Reference and validated] reference: CSPICE N0067, unmodified, run in the reference image. Every answer ends with a provenance block that names the class, the library and data file hashes and the build; say which class produced each number you repeat. Where the Sun and Earth stand in the sky of a site on the Moon, and the sub-solar point, one row per time step. Azimuth is clockwise from north, elevation is above the local horizontal of the reference sphere, longitude is east; terrain is ignored. Apparent directions, corrected for light time and stellar aberration. An answer holds about 110 rows with every column; ask for a longer span in several calls.

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": {
      "body": "<body>",
      "lon_deg": "<lon_deg>",
      "lat_deg": "<lat_deg>",
      "step_s": "<step_s>"
    },
    "name": "lunar_site_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe body the site is on. Only "luna" has an orientation model here.
frameNoLunar body-fixed frame: MOON_ME is mean Earth and polar axis, the frame of lunar maps; IAU_MOON is the IAU rotation model.MOON_ME
step_sYesSeconds between rows. At most 350 rows and 30,000 characters of answer, about 110 rows with every column.
lat_degYesSite latitude, degrees north.
lon_degYesSite longitude, degrees east.
height_mNoSite height above the reference sphere, meters.
stop_utcNoLast row at or before this, UTC.
start_utcNoFirst row, UTC, as 2026-12-11T00:00:00Z. From 1850-01-01T00:00:00Z to 2150-01-01T00:00:00Z. Before 1972, UTC here is SPICE's fixed-offset extension, not UT1.
quantitiesNoWhich columns each row carries.
stop_tdb_sNoLast row at or before this, TDB seconds past J2000.
time_scaleNoUTC takes start_utc and stop_utc; TDB takes start_tdb_s and stop_tdb_s.UTC
start_tdb_sNoFirst row, TDB seconds past J2000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With readOnlyHint already declaring safety, the description adds real behavioral context: every answer ends with a provenance block naming class, library and data-file hashes and build; terrain is ignored; directions are apparent and corrected for light time and stellar aberration; pre-1972 UTC is SPICE's fixed-offset extension, not UT1. The instruction to 'say which class produced each number you repeat' is unusual framing for a tool description and slightly muddies the read-only contract, but the disclosure value is high.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense but the ordering is poor: a bracketed reference tag and a provenance/instruction sentence lead, while the actual purpose appears second. Sentences are long and carry multiple ideas (units, aberration, terrain, row limits) without paragraph breaks, so scanning is harder than it needs to be.

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 12-parameter, no-output-schema tool the description covers the important unknowns: unit conventions (azimuth clockwise from north, elevation above the reference sphere, longitude east), terrain ignored, apparent-vs-geometric directions, time-range limits, and answer-size limits. The main gap is that it never states the return shape beyond 'one row per time step' plus a provenance block.

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 all twelve parameters already carry their own descriptions, including the UTC/TDB time-scale pairing and frame enum. The description adds only the row-count expectation ('about 110 rows') and the 'one row per time step' framing, which is a marginal increment over the schema's own step_s text.

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 second sentence states a specific resource and computation: Sun and Earth positions in the sky at a lunar site, plus the sub-solar point, one row per time step. That is far more specific than siblings like gravity_at or site_facts. It loses a point because the purpose is buried behind a leading provenance sentence rather than front-loaded, and no sibling is named as an explicit alternative.

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

Usage Guidelines3/5

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

The only actionable guidance is volume-related: 'An answer holds about 110 rows with every column; ask for a longer span in several calls.' That tells the agent how to chunk long spans, but there is no statement of when to use this tool versus gravity_at or sample_profile, nor any exclusions.

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