Skip to main content
Glama

Trajectory of one body over a date range

get_trajectory
Read-onlyIdempotent

Sample one spacecraft’s or planet’s coordinates over a time range as a table to plot orbits, track solar distance, and find closest and farthest points.

Instructions

Get one spacecraft's or planet's coordinates sampled over a time range, as a table: distance from the Sun, Stonyhurst and Carrington coordinates, HEE vector, angle and distance from Earth, light time and Parker-spiral footpoint at each step, with the closest and farthest points.

Use for time series, orbit plots, perihelion passes and "how does X change over this period" questions. For one moment use get_position; for every body at one moment use get_fleet_state; for the times a configuration holds use find_alignments. Samples outside the body's ephemeris keep their time and status with null coordinates.

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>"
    },
    "name": "get_trajectory"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the range (UTC); default 30 days after start.
bodyYesBody key or name: earth, sdo, soho, aditya, ace, wind, dscovr, imap, swfo, cgo, solo, psp, bepi, sta, stb, maven, messenger, vex, juno, rosetta, juice, clipper, psyche, mercury, venus, mars; names such as 'Parker' or 'Solar Orbiter' also work.
startNoUTC time: ISO 8601 (2026-11-19T12:00Z), a date (2026-11-19), 'now', or a Julian date. Data cover 2010 to about 2030.now
step_hoursNoSampling step in hours (default 24). At most 2000 samples per call; use 1-6 h for Parker near perihelion.
solar_wind_km_sNoSolar-wind speed in km/s for the Parker-spiral footpoint longitude (typical 300-800).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds one genuinely useful behavioral fact: out-of-ephemeris samples are returned with their time and a status but null coordinates, which tells the agent to expect sparse/null rows rather than an error. It does not mention the per-call sample cap or pagination behavior, which the schema carries, so this sits above annotation coverage but not richly so.

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?

Front-loaded with what you get, then usage routing, then the null-sample caveat — a sensible order with no filler. The long enumeration of returned columns partly duplicates the existing output schema, which is the one place a sentence could be trimmed.

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?

With rich annotations, a 100%-documented 5-parameter schema and an output schema covering return values, the description only needs scope, alternatives and edge-case behavior — and it supplies all three, including the null-coordinate case an agent would otherwise mishandle.

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 description coverage is 100%, so every parameter already has documented meaning, defaults and bounds (including the step guidance for Parker near perihelion). The description adds no parameter-level syntax or format detail beyond what the schema states, so the baseline of 3 applies.

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 (one body's coordinates over a time range) and enumerates the returned quantities (Sun distance, Stonyhurst/Carrington, HEE vector, Earth angle/distance, light time, Parker footpoint, extrema). That scope plus the explicit sibling contrasts makes it unmistakable against get_position, get_fleet_state and find_alignments.

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 positive use cases (time series, orbit plots, perihelion passes, 'how does X change over this period') and then explicitly routes three alternative questions to get_position, get_fleet_state and find_alignments. Nothing about when to pick this over a sibling is left to inference.

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