{"name":"ntsb-safety","version":"1.1.0","description":"NTSB aviation accident pattern matching for flight safety risk assessment. Query 30,000+ investigated accidents by flight profile, aircraft type, weather, pilot experience, and more.","transport":{"http":{"streaming":true}},"tools":[{"name":"lookup_accident","description":"Retrieve complete NTSB accident/incident details by event ID, NTSB number, or tail number. Returns full event data including aircraft, crew, weather, findings, probable cause, and investigative narratives.","parameters":{"type":"object","properties":{"identifier":{"type":"string","description":"NTSB event ID (e.g. \"20230415X00123\"), NTSB number (e.g. \"ERA22FA123\"), or aircraft tail number (e.g. \"N12345\"). Tail numbers may match multiple events."}},"required":["identifier"]},"output":{"type":"object","description":"Complete NTSB event record with all related data. If no matching record is found, returns {error: \"not_found\", identifier: string, message: string} instead."},"annotations":{"readOnlyHint":true,"category":"Information","requiresConfirmation":false}},{"name":"assess_flight_risk","description":"Assess flight safety risk by matching a flight profile against 30,000+ NTSB accident records. Send a natural language flight description and/or structured parameters. Returns matching accident patterns ranked by relevance, cause factor analysis, and narrative excerpts from actual investigations.","parameters":{"type":"object","properties":{"query":{"type":"string","description":"Natural language flight description. E.g. \"Flying a Cessna 172 from Teterboro to Martha's Vineyard tonight, 200 hours total time, IFR in forecast IMC with icing potential.\""},"filters":{"type":"object","description":"Optional structured filters to narrow the search. These override any filters parsed from the natural language query.","properties":{"aircraft_make":{"type":"string","description":"Aircraft manufacturer (e.g. \"Cessna\", \"Piper\")"},"aircraft_model":{"type":"string","description":"Aircraft model (e.g. \"172\", \"PA28\")"},"weather_condition":{"type":"string","enum":["VMC","IMC"]},"light_condition":{"type":"string","enum":["DAYL","NITE","DAWN","DUSK"]},"pilot_total_hours_max":{"type":"number"},"pilot_total_hours_min":{"type":"number"},"state":{"type":"string","description":"US state abbreviation"},"far_part":{"type":"string","description":"FAR Part (e.g. \"091\", \"135\")"},"severity":{"type":"string","enum":["FATL","SERS","MINR","NONE"]},"year_from":{"type":"integer"},"year_to":{"type":"integer"}}},"limit":{"type":"integer","minimum":1,"maximum":25,"description":"Max number of matching events to return (default 10)"},"deepAnalysis":{"type":"boolean","description":"When true, generate AI risk narrative. When false or omitted, skip narrative for faster response."}},"required":["query"]},"output":{"type":"object","description":"Matching accident patterns with cause analysis and narrative excerpts."},"annotations":{"readOnlyHint":true,"category":"Information","requiresConfirmation":false}},{"name":"get_statistics","description":"Get aggregate NTSB accident statistics. Returns counts, rates, and distributions grouped by configurable dimensions: aircraft type, year, state, cause category, severity, weather condition, phase of flight, etc.","parameters":{"type":"object","properties":{"query":{"type":"string","description":"Natural language statistics question. E.g. \"What percentage of Cessna 172 accidents are fatal?\" or \"Show accident trends for IMC flights over the last 10 years.\""},"group_by":{"type":"array","items":{"type":"string","enum":["aircraft_make","aircraft_model","year","state","weather_condition","light_condition","severity","far_part","phase_of_flight"]},"description":"Dimensions to group results by. Use \"phase_of_flight\" to analyze accident distribution across flight phases."},"filters":{"type":"object","description":"Same filter schema as assess_flight_risk.","properties":{"aircraft_make":{"type":"string"},"aircraft_model":{"type":"string"},"weather_condition":{"type":"string","enum":["VMC","IMC"]},"light_condition":{"type":"string","enum":["DAYL","NITE","DAWN","DUSK"]},"state":{"type":"string","description":"Single US state abbreviation"},"states":{"type":"array","items":{"type":"string"},"description":"Multiple US state abbreviations for route corridor (OR logic). Takes precedence over \"state\"."},"far_part":{"type":"string"},"severity":{"type":"string","enum":["FATL","SERS","MINR","NONE"]},"phase_of_flight":{"type":"string","enum":["STANDING","TAXI","TAKEOFF","CLIMB","CRUISE","MANEUVERING","APPROACH","LANDING","GO_AROUND"],"description":"Phase of flight filter"},"year_from":{"type":"integer"},"year_to":{"type":"integer"}}}},"required":["query"]},"output":{"type":"object","description":"Aggregate statistics with counts, rates, and distributions. Supports grouping by phase_of_flight to analyze accident patterns across different flight phases (e.g. landing, approach, cruise)."},"annotations":{"readOnlyHint":true,"category":"Information","requiresConfirmation":false}},{"name":"get_airport_profile","description":"Get a historical safety profile for a specific airport. Returns accident patterns broken down by phase of flight (landing, takeoff, approach), cause factors, and relevant NTSB records. Answers \"what goes wrong at this airport?\" Optional filters for aircraft type and weather conditions.","parameters":{"type":"object","properties":{"airport_code":{"type":"string","description":"Airport identifier (e.g. \"KASE\", \"SEF\", \"T82\"). Accepts both 3-letter and 4-letter K-prefix codes."},"aircraft_make":{"type":"string","description":"Optional: filter to specific aircraft manufacturer (e.g. \"Cessna\", \"Beech\")"},"aircraft_model":{"type":"string","description":"Optional: filter to specific aircraft model (e.g. \"172\", \"A36\")"},"weather_condition":{"type":"string","enum":["VMC","IMC"],"description":"Optional: filter by weather conditions"},"limit":{"type":"integer","minimum":1,"maximum":10,"description":"Max number of accident records to return per phase of flight (default 3)"}},"required":["airport_code"]},"output":{"type":"object","description":"Airport safety profile with phase-of-flight breakdown and accident records."},"annotations":{"readOnlyHint":true,"category":"Information","requiresConfirmation":false}}]}