Skip to main content
Glama

Viewing geometry of an observer

get_viewing_geometry
Read-onlyIdempotent

Get solar viewing geometry for an observer at a UTC time—light-time offset, apparent radius, B0, Stonyhurst longitude, L0, and scale—to co-align or time-align images from different observers.

Instructions

Get what an observer sees of the Sun at a UTC time: light time and offset from Earth, apparent solar radius (RSUN_OBS), B0 (HGLT_OBS), Stonyhurst longitude (HGLN_OBS), L0 with its own light time (CRLN_OBS), km per arcsec and scale relative to Earth.

Use to co-align or time-align images from different observers (the values match the FITS keywords). For where the observer is use get_position. Includes the map's viewing-geometry link and, for observers the sky view supports, a sky-view link.

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_viewing_geometry"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoUTC time: ISO 8601 (2026-11-19T12:00Z), a date (2026-11-19), 'now', or a Julian date. Data cover 2010 to about 2030.now
observerNoEarth, a spacecraft key or name, or 'all' for every observer with data.all

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), and the description adds real context beyond them: values match FITS keywords, the response includes a viewing-geometry link, and a sky-view link only appears for observers the sky view supports. That conditional output detail is useful, but runtime behaviors such as caching or latency are unmentioned.

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 FITS-keyword payload are front-loaded, followed by usage routing and output hints. The keyword parenthetical is dense but earns its place by tying results to FITS headers, which is the tool's main selling point. Minor list-like texture but no filler sentences.

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?

An output schema exists, so return values need no exhaustive treatment, and the description still flags the link fields an agent might not expect. For a two-optional-parameter read tool with 100% schema coverage and full annotations, this is essentially complete; only explicit defaults and error behavior for out-of-range dates are absent (the range itself is stated in the schema).

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 both parameters (time formats, observer keys, 'all') are already fully documented in the schema with the 2010–2030 data range. The description only alludes to time and observer indirectly, adding no syntax or semantics beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb and resource ('Get what an observer sees of the Sun at a UTC time') and enumerates the concrete quantities returned (RSUN_OBS, B0/HGLT_OBS, HGLN_OBS, CRLN_OBS, arcsec scale). It explicitly distinguishes itself from the sibling get_position, so an agent can route correctly without opening the schema.

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

Usage Guidelines5/5

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

Gives a direct use case ('co-align or time-align images from different observers') and names the alternative for the adjacent need ('For where the observer is use get_position'). Both the when-to-use and the when-not-to-use case are stated, not inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.