# WSL Heat Scoring Calculator AI Agent Connect

> Calculate professional World Surf League heat scores and win probabilities.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_xkuCtj4QiZkD4ZnfKvBMp0RIxCznLy9g5rkzZsMe/ai-agent-connect
- **Tags:** surfing, wsl, scoring, sports-analytics, math

## Description

This MCP server provides deterministic scoring logic for World Surf League (WSL) heats. It calculates total heat scores, average wave scores, and win feasibility based on specific heat formats like 3-wave, 5-wave, or unlimited. Use `calculate_heat_score` to determine the required score to beat an opponent and check if a win is still mathematically possible.

## Tools

### calculate_heat_score
Calculates the total heat score, average wave score, and win feasibility based on a surfer's waves and the heat format

### get_heat_format_metadata
Retrieves the configuration rules (number of waves to discard) for a specific heat type

### validate_wave_score
Checks if a specific wave score adheres to professional surfing scoring standards

## Prompt Examples

**Prompt:** 
```
Calculate the score for a 3-wave heat where the waves are 8.5, 7.0, and 4.0, against an opponent with 14.0.
```

**Response:** 
```
The top two scores are 8.5 and 7.0, resulting in a total heat score of 15.5 and an average wave score of 7.75. You need 0.1 more than the opponent's score to win, but since your current score is already 15.5, you have already surpassed the opponent.
```

**Prompt:** 
```
What is the metadata for a 5-wave heat format?
```

**Response:** 
```
For a 5-wave heat, the system will discard the 3 lowest waves and keep the 2 highest waves.
```

**Prompt:** 
```
Is it possible to win a heat if I need 21.0 points?
```

**Response:** 
```
No, it is not possible to win as the maximum possible score is 20.0.
```

## Frequently Asked Questions

**What heat types are supported?**
The server supports 3-wave, 5-wave, and unlimited heat formats.

**How is the win possibility determined?**
The `calculate_heat_score` tool checks if the score needed to beat the opponent exceeds the maximum possible score of 20.0.

**Can I validate individual wave scores?**
Yes, you can use the `validate_wave_score` tool to ensure a score is within the professional range of 0.1 to 10.0.
