Skip to main content
Glama

One near-Earth object (NeoWs lookup)

nasa_neo_lookup
Read-onlyIdempotent

Retrieve details for one near-Earth object by JPL SPK-ID, including size, hazard and Sentry flags, orbital elements, and close approaches within a date range.

Instructions

Look up one near-Earth object by JPL SPK-ID in NASA NeoWs: size range, hazard and Sentry flags, orbital elements and orbit class, and its close approaches to Earth and other bodies within a date range (default +/- 10 years). Next: call nasa_ssd_sbdb_lookup for full JPL orbit data.

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": {
      "asteroid_id": "<asteroid_id>"
    },
    "name": "nasa_neo_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
asteroid_idYesJPL SPK-ID (e.g. 3542519 or 2000433 for Eros).
approaches_toNoOnly approaches on or before this date (default 10 years ahead).
max_approachesNoMost approaches to return.
approaches_fromNoOnly approaches on or after this date (default 10 years ago).

Output Schema

NameRequiredDescriptionDefault
notesNo
orbitYes
objectYes
sourceNo
resolvedNo
nextStepsNo
approachCountTotalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds scope behavior beyond that: close approaches are constrained to a date window defaulting to plus/minus 10 years, and the result includes hazard and Sentry flags as well as orbital elements. It does not discuss failure modes for an invalid SPK-ID or rate limits, which keeps it short of a 5.

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?

Two sentences, no waste, with the core purpose and returned content front-loaded before the routing hint. Every clause earns its place.

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?

With an output schema present and rich annotations, the description only needs to frame purpose and scope, which it does, including the default date window and the escalation path to sbdb_lookup. Minor gaps remain around invalid-ID behavior and the interaction between the two date bounds, but nothing essential for correct invocation 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 the schema already documents the SPK-ID pattern, the YYYY-MM-DD date format, and the 10-year default bounds. The description's mentions of 'JPL SPK-ID' and the date range largely restate what the schema provides, adding little new parameter meaning, so the baseline 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 ('Look up one near-Earth object by JPL SPK-ID in NASA NeoWs') and enumerates what the record contains: size range, hazard and Sentry flags, orbital elements, orbit class, and close approaches. An agent can distinguish this single-object lookup from the browse/feed list siblings and from nasa_ssd_sbdb_lookup without opening either schema.

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?

The lookup key ('by JPL SPK-ID') makes the precondition clear, and the closing sentence explicitly routes to nasa_ssd_sbdb_lookup for full JPL orbit data, which is a genuine alternative-selection hint. It stops short of stating when not to use this tool (e.g., when you have no SPK-ID and should use browse/feed), so it is clear context rather than a full when/when-not map.

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