# Tube Ride Duration Calculator AI Agent Connect

> Estimate tube ride duration, speed requirements, and exit windows using wave dynamics.

## Overview
- **Category:** utility
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_5JTTRTn2Khjqf5wJU2cR14bQGh8jilIpvRGMszRa/ai-agent-connect
- **Tags:** surfing, wave-dynamics, physics, ocean, calculation

## Description

This MCP server provides specialized tools for surfers to calculate the temporal windows and velocity requirements for riding inside a breaking wave barrel. By accounting for fluid dynamics like the foam ball and air compression, the tools help predict how long a ride will last and the minimum speed needed to avoid being caught by the lip. Use `get_ride_duration` to estimate time, `get_speed_requirements` for velocity needs, `get_exit_window` for safety margins, and `get_environmental_impact` to understand drag and pressure factors.

## Tools

### get_environmental_impact
Evaluates how the foam ball and air compression will affect the ride dynamics

### get_ride_duration
Calculates the total estimated time a surfer can spend inside the tube

### get_exit_window
Calculates the time window available to exit the tube before the wave collapses

### get_speed_requirements
Determines the specific velocity needed to successfully traverse a wave

## Prompt Examples

**Prompt:** 
```
How long can I ride a 2 meter high wave with a 5 meter barrel if I am traveling at 4 m/s?
```

**Response:** 
```
You can spend approximately 1.25 seconds inside the tube, with a minimum speed requirement of 4.0 m/s to maintain this duration.
```

**Prompt:** 
```
What speed do I need for a 3 meter wave with a 6 meter barrel if I want to stay in for 2 seconds?
```

**Response:** 
```
To stay in the tube for 2 seconds, you will need a minimum speed of 3.0 m/s and an optimal speed of 3.5 m/s.
```

**Prompt:** 
```
Calculate the exit window for a 4 meter wave, 8 meter barrel, at 5 m/s speed.
```

**Response:** 
```
You have 1.6 seconds until the barrel collapses, with a recommended safety margin of 0.3 seconds.
```

## Frequently Asked Questions

**How does wave height affect the ride?**
Higher wave height increases air compression and the weight of the falling lip, which typically requires higher speeds to maintain the ride.

**What is the purpose of the exit window calculation?**
The `get_exit_window` tool calculates the time remaining before the barrel collapses, providing a safety margin to ensure a clean exit.

**Can I use this to plan my speed for a specific barrel length?**
Yes, you can use `get_speed_requirements` to determine the minimum and optimal velocities needed for a specific target duration and barrel length.
