---
title: "For AI agents"
description: "How AI agents should use nasa-mcp: which tool to call first, how to read units, notes and pages, the key quota, and citing."
type: Guide
tags:
  - agents
  - llms
generated:
  by: "claude/opus-5.5"
  at: "2026-11-27T00:00:00Z"
sources:
  - id: design
    resource: "DESIGN.md"
    title: "nasa-mcp design"
    author: "team:nasa-mcp"
status: stable
---

<!--
SPDX-FileCopyrightText: 2026 Tyson Lee Swetnam
SPDX-License-Identifier: CC-BY-4.0
-->

# For AI agents

* For NASA **data**, connect to the nasa-mcp server and call its tools; do not scrape these pages.
  Start with `nasa_list_services` (or the `nasa://guide/overview` resource).
* Dates are `YYYY-MM-DD` (UTC). Read units from field names (`missDistanceKm`, `distAu`) and
  descriptions; JPL close-approach times are TDB.
* Media tools return **URLs**. Show the URL to the user or let the client open it; do not try to
  describe an image you have not seen.
* Read `notes`: they say when data are a **frozen archive** (InSight, sols 675-681, October 2020:
  never present it as current Mars weather), come from a **third-party host** (TLE API), or may
  be **copyrighted** (APOD: name the author in `credit`).
* NeoWs and InSight tools spend api.nasa.gov quota. With DEMO_KEY that is about ten requests
  before a block of about a day, so avoid repeated calls; for asteroid questions prefer the
  keyless JPL tools (`nasa_ssd_close_approaches`, `nasa_ssd_sbdb_lookup`, `nasa_ssd_sentry`).
  On `rate_limited`, tell the user the operator can set `NASA_MCP_NASA__API_KEY`; the other
  services are unaffected.
* If a result has `page.truncated: true`, call again with `offset = page.nextOffset` (or the next
  `page`).
* Errors are tool results with `error.code`; `invalid_argument` lists valid values (for example
  EONET categories), SBDB ambiguity returns a candidate list.
* Follow `nextSteps`. Quote `source.citation` when you report data.
