Skip to main content
Glama

Get Apod

get_apod
Read-onlyIdempotent

Get the NASA Astronomy Picture of the Day with explanation. Optionally specify a date. Example: get_apod({ date: "2024-01-15", _apiKey: "DEMO_KEY" })

Input Schema

NameRequiredDescriptionDefault
dateNoDate in YYYY-MM-DD format (optional, defaults to today). Range: 1995-06-16 to today.
_apiKeyNoNASA API key (optional, defaults to DEMO_KEY — get a free key at api.nasa.gov)

Output Schema

NameRequiredDescriptionDefault
urlYesURL to the astronomy picture
dateYesDate of the astronomy picture in YYYY-MM-DD format
titleYesTitle of the astronomy picture
hd_urlNoURL to the high-definition version of the picture
copyrightNoCopyright information for the picture
media_typeYesType of media (image or video)
explanationYesExplanation of the astronomy picture

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-nasa-api-key",
      -    "date": "2024-01-15"
      -  },
      -  {
      -    "_apiKey": "your-nasa-api-key"
      -  }
      -]New value: +[
      +  {
      +    "date": "2024-01-15"
      +  },
      +  {}
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds the return-content hint ('with explanation') and a concrete example call, but says nothing about rate limits or the DEMO_KEY throttling, which is a meaningful behavioral gap for an open-world API tool.

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?

Three short sentences, front-loaded with purpose and followed by the optional parameter and a usage example. The inline example largely duplicates the schema's examples array but is small enough not to be wasteful.

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 and annotations cover the safety profile, so the description need not explain return values or side effects. For a zero-required-parameter read tool, the description plus structured fields give an agent what it needs to invoke it correctly.

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% — the date format, default, valid range (1995-06-16 to today) and the _apiKey default are all documented in the schema. The description only restates that date is optional, so the baseline of 3 applies.

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?

States a specific verb and resource ('Get the NASA Astronomy Picture of the Day') plus a hint at the payload ('with explanation'), which is enough to distinguish it from siblings like get_mars_photos or search_nasa_images. It does not explicitly name a sibling or exclusion condition, so it stops short of a 5.

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?

'Optionally specify a date' implies the two usage modes (today vs. a chosen day), but there is no guidance on when to prefer this over search_nasa_images or the other NASA tools, and no preconditions such as needing an API key for higher rate limits.

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.