Skip to main content
Glama

get_system_status

Retrieve current system status and available capabilities for aviation operations, including airport data and aircraft performance tools.

Instructions

Get system status and capabilities.

Returns: JSON string with system status information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the get_system_status tool. It constructs and returns a JSON string detailing the Aerospace MCP Server's status, version, capabilities including airport search, flight planning, distance calculation, and OpenAP performance availability.
    def get_system_status() -> str:
        """Get system status and capabilities.
    
        Returns:
            JSON string with system status information
        """
        status = {
            "system": "Aerospace MCP Server",
            "version": "0.1.0",
            "status": "operational",
            "capabilities": {
                "airport_search": True,
                "flight_planning": True,
                "great_circle_distance": True,
                "openap_performance": OPENAP_AVAILABLE,
            },
            "optional_features": {
                "openap_available": OPENAP_AVAILABLE,
            },
        }
    
        if OPENAP_AVAILABLE:
            status["openap_info"] = {
                "description": "OpenAP aircraft performance modeling available",
                "supported_aircraft": "A319, A320, A321, A332, A333, A343, A346, A359, A388, B737, B738, B739, B744, B747, B752, B753, B762, B763, B772, B773, B777, B787, and more",
            }
        else:
            status["openap_info"] = {
                "description": "OpenAP not available - install with: pip install openap",
                "note": "Flight planning will work without performance estimates",
            }
    
        return json.dumps(status, indent=2)
  • Registration of the get_system_status tool handler in the FastMCP server using the mcp.tool decorator/method.
    mcp.tool(get_system_status)
  • Import of the get_system_status function from tools.core module in the FastMCP server, necessary for registration.
    from .tools.core import (
        calculate_distance,
        get_aircraft_performance,
        get_system_status,
        plan_flight,
        search_airports,
    )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cheesejaguar/aerospace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server