Skip to main content
Glama

Science Get Apod

science_get_apod
Read-onlyIdempotent

Get NASA's Astronomy Picture of the Day with image URL, title, and explanation. Optionally specify a date (e.g., '2024-01-15').

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "2024-01-15"
    },
    "name": "science_get_apod"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate in YYYY-MM-DD format (default: today)

Output Schema

NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format
titleYesTitle of the astronomy picture
hd_urlYesURL to high-definition version or null
copyrightYesCopyright information or null
image_urlYesURL to the image
media_typeYesType of media (image or video)
explanationYesExplanation of the astronomy picture

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered and the description does not need to repeat it. The description adds that a date is optional and that output includes image URL, title and explanation, but says nothing about upstream API key/rate-limit behavior or failure modes when a date has no image.

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 short sentences with zero filler; the core purpose is front-loaded and the optional-parameter note follows. Nothing needs to be cut.

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 need not explain return structure or safety. It leaves only minor gaps around error behavior for invalid or future dates, which is a small omission for a one-optional-param read tool.

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% and the single 'date' property already documents the YYYY-MM-DD format and the 'default: today' behavior. The description restates the format with an example, adding only marginal value beyond the schema, 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 (Get) and a specific, named resource (NASA's Astronomy Picture of the Day), and names the payload fields (image URL, title, explanation). An agent can distinguish it from every listed sibling (air quality, earthquakes, ISS location) without opening any schema.

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?

The description gives usage for the single parameter – optionally pass a date – which implies the default behavior of fetching today's image. It does not state when to prefer this over an alternative or any prerequisite/exclusion, though for a standalone single-resource fetcher the implied usage is largely unambiguous.

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.