{"openapi":"3.0.3","info":{"title":"Gnist Context — Astronomy","description":"Solar system planets and notable stars — mass, radius, orbital parameters, spectral data.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/astronomy/`\n- **Toolkit page:** `/toolkits/astronomy`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/astronomy/get_planet":{"post":{"tags":["Science"],"summary":"get_planet","description":"Get detailed information about a solar system planet.\n\nReturns mass, radius, orbital parameters, atmosphere composition, and more.\nIncludes the 8 major planets plus Pluto (dwarf planet).","operationId":"astronomy_get_planet","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"description":"Planet name (e.g. Earth, Mars, Jupiter, Pluto).","type":"string"}},"required":["name"],"type":"object"}}}}}},"/rest/astronomy/list_planets":{"post":{"tags":["Science"],"summary":"list_planets","description":"List planets in the solar system.\n\nOptionally filter by type: terrestrial (rocky), gas_giant, ice_giant, or dwarf.","operationId":"astronomy_list_planets","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"planet_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter: terrestrial, gas_giant, ice_giant, dwarf."}},"type":"object"}}}}}},"/rest/astronomy/get_star":{"post":{"tags":["Science"],"summary":"get_star","description":"Get detailed information about a notable star.\n\nReturns spectral type, magnitude, distance, mass, radius, temperature, and luminosity.","operationId":"astronomy_get_star","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"description":"Star name (e.g. Sirius, Betelgeuse, Polaris, Sun).","type":"string"}},"required":["name"],"type":"object"}}}}}},"/rest/astronomy/search_stars":{"post":{"tags":["Science"],"summary":"search_stars","description":"Search the star database by name or constellation.","operationId":"astronomy_search_stars","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search by star name, constellation, or designation.","type":"string"},"limit":{"default":10,"type":"integer"}},"required":["query"],"type":"object"}}}}}},"/rest/astronomy/list_brightest_stars":{"post":{"tags":["Science"],"summary":"list_brightest_stars","description":"List the brightest stars visible from Earth, sorted by apparent magnitude.","operationId":"astronomy_list_brightest_stars","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"limit":{"default":10,"type":"integer"}},"type":"object"}}}}}},"/rest/astronomy/list_nearest_stars":{"post":{"tags":["Science"],"summary":"list_nearest_stars","description":"List the nearest stars to Earth, sorted by distance in light-years.","operationId":"astronomy_list_nearest_stars","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"limit":{"default":10,"type":"integer"}},"type":"object"}}}}}},"/rest/astronomy/get_constellations":{"post":{"tags":["Science"],"summary":"get_constellations","description":"List all constellations represented in the star database.","operationId":"astronomy_get_constellations","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}]}},"/rest/astronomy/report_feedback":{"post":{"tags":["Science"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"astronomy_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Science","description":"Data sources: Science"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}