Skip to main content
Glama

asteroid_close_approaches

Read-onlyIdempotent

skypeek: List asteroid and comet close approaches to Earth. For space weather use get_space_weather. Returns near-Earth object close approaches to Earth in the next 1-30 days within a miss distance (default 0.05 au, about 19.5 lunar distances): designation, approach time, nominal distance with its 3-sigma range, relative velocity, absolute magnitude and diameter (published or a rough range). Data: NASA/JPL Solar System Dynamics close-approach API (US Government work); no endorsement by NASA or JPL is implied. At most 100 approaches per answer. Not an impact-risk assessment. Cached up to an hour. An upstream outage is a 503 upstream_unavailable (not charged). Typically under 1 s. Price: USD 0.001. Free: 5 skypeek calls per IP per UTC day. Docs: https://tanod.dev/learn/asteroid-close-approach-api.html

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "asteroid_close_approaches"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-ahead window in days.
dist_max_auNoLargest nominal miss distance in au (0.0001-0.2; 0.05 au is about 19.5 lunar distances).

Output Schema

NameRequiredDescriptionDefault
daysNo
noteNo
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
staleNo
cachedNo
sourceNo
truncatedNo
approachesNo
attributionNo
dist_max_auNo
cache_secondsNo
total_matchesNo
dist_max_lunarNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"Look-ahead window in days (1-30)."New value: +"Look-ahead window in days."
    • removedInput schema / properties / days / title
      Removed value: -"Days"
    • removedInput schema / properties / dist_max_au / title
      Removed value: -"Dist Max Au"
    • removedInput schema / title
      Removed value: -"asteroid_close_approachesArguments"
    • removedOutput schema / properties / approaches / items
      Removed value: -{
      -  "properties": {
      -    "abs_magnitude_h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "approach_time_tdb": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "approach_time_utc": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "designation": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "diameter_m": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "distance_au": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "distance_km": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "distance_lunar": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "distance_max_au": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "distance_min_au": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "estimated_diameter_m": {
      -      "properties": {
      -        "max": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "min": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "name": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "relative_velocity_km_s": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / source / properties
      Removed value: -{
      -  "license": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "notice": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "terms": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
  2. Changed5 schema fields changed
    • addedOutput schema / properties / approaches / items / properties / approach_time_tdb
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / approaches / items / properties / diameter_m
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / approaches / items / properties / distance_max_au
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / approaches / items / properties / distance_min_au
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / approaches / items / properties / estimated_diameter_m
      Added value: +{
      +  "properties": {
      +    "max": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "min": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "approaches": {
      +      "items": {
      +        "properties": {
      +          "abs_magnitude_h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "approach_time_utc": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "designation": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "distance_au": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "distance_km": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "distance_lunar": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "relative_velocity_km_s": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "attribution": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "cache_seconds": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "cached": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "days": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "dist_max_au": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "dist_max_lunar": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "properties": {
      +        "license": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "notice": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "terms": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "stale": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "total_matches": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "truncated": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources