# Terrain Park Gap Analyzer AI Agent Connect

> Calculates jump trajectories, gap distances, and knuckle clearance for freestyle features.

## Overview
- **Category:** safety
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_bW8iw7ExehaoLWuOa3pT6uG839CJ3BdM5khCX2BD/ai-agent-connect
- **Tags:** skiing, snowboarding, physics, terrain-park, safety-analysis

## Description

This MCP server provides physics-based analysis for freestyle skiing and snowboarding features. It uses projectile motion models to calculate the flight path between takeoff and landing. Use `get_gap_analysis` to determine the horizontal gap distance and `knuckleClearance`. You can also use `check_knuckle_collision_risk` to assess the danger of hitting the landing knuckle, or `validate_speed_requirements` to ensure the approach speed is safe for a specific gap configuration.

## Tools

### check_knuckle_collision_risk
Specifically assesses the danger of hitting the knuckle based on the flight path

### get_feature_safety_buffer
Calculates the necessary safety spacing based on feature types and environmental conditions

### get_gap_analysis
Calculates the physical distance and flight characteristics of a jump

### validate_speed_requirements
Determines if a specific approach speed is sufficient or excessive for a given gap configuration

## Prompt Examples

**Prompt:** 
```
Analyze a jump with an approach speed of 12 m/s, a takeoff angle of 30 degrees, a landing angle of 25 degrees, and a kicker feature on groomed snow.
```

**Response:** 
```
The gap distance is 18.45 meters, with a knuckle clearance of 1.2 meters. Your speed is within the safe operating window.
```

**Prompt:** 
```
Is 10 m/s enough speed to clear a 15 meter gap with a 35 degree takeoff angle?
```

**Response:** 
```
No, the minimum required speed to clear a 15 meter gap with a 35 degree takeoff angle is 11.2 m/s.
```

**Prompt:** 
```
What is the risk of hitting the knuckle if I have a 5 meter gap, 15 degree takeoff, 20 degree landing, and 10 m/s speed?
```

**Response:** 
```
The risk level is critical because the clearance value is -0.4 meters.
```

## Frequently Asked Questions

**How do I check if my speed is safe for a jump?**
You can use the `validate_speed_requirements` tool to compare your approach speed against the minimum required speed and maximum safe speed for your specific gap.

**What is knuckle clearance?**
Knuckle clearance is the vertical distance between the lowest point of your flight path and the highest point (knuckle) of the landing feature. A positive value means you clear it.

**Does snow condition affect the calculations?**
Yes, you can provide a `snowCondition` like 'icy' or 'powder' to `get_gap_analysis` to adjust the effective takeoff speed based on friction.
