# HDB BTO Ballot Probability Calculator AI Agent Connect

> Calculate your relative chances of securing an HDB BTO flat based on applicant type, project maturity, and ethnic quotas.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ovWKmRFJSYRaDYV9pjNSAa8lCQzH9iMUmvoshl8z/ai-agent-connect
- **Tags:** hdb, singapore, housing, probability, calculator

## Description

This MCP server provides deterministic tools to evaluate the likelihood of a successful HDB Build-To-Order (BTO) application. By analyzing the intersection of applicant status and estate characteristics, users can determine their relative standing in the ballot pool. Use `calculate_priority_weight` to establish a baseline score, `apply_ethnic_adjustment` to account for ethnic quota constraints, and `evaluate_ballot_chance` to derive the final relative probability and success category.

## Tools

### apply_ethnic_adjustment
Calculates the penalty factor applied to the priority weight based on the current ethnic quota status

### calculate_priority_weight
Determines the base priority weight of an applicant based on their type and the project's maturity

### evaluate_ballot_chance
Computes the final relative ballot chance and assigns a qualitative success category

## Prompt Examples

**Prompt:** 
```
What are my chances if I am a First-timer applying for a Non-mature project that is within its ethnic quota?
```

**Response:** 
```
Your priority weight is 2.0, the adjustment factor is 1.0, and your relative ballot chance is 2.0, which falls into the High success category.
```

**Prompt:** 
```
I am a Second-timer looking at a Mature estate that has reached its ethnic quota. What is my relative chance?
```

**Response:** 
```
Your priority weight is 1.0, the adjustment factor is significantly reduced due to the quota limit, resulting in a Low success category.
```

**Prompt:** 
```
Calculate the chance for a First-timer in a Mature project with no ethnic quota issues.
```

**Response:** 
```
Your priority weight is 3.0, the adjustment factor is 1.0, and your relative ballot chance is 3.0, which is a High success category.
```

## Frequently Asked Questions

**How is my priority weight determined?**
The `calculate_priority_weight` tool determines your weight based on whether you are a First-timer or Second-timer and if the project is in a Mature or Non-mature estate.

**What does the ethnic adjustment factor do?**
The `apply_ethnic_adjustment` tool calculates a multiplier that reduces your priority weight if the estate's ethnic quota is near its limit or already at the limit.

**How do I know if my chances are high or low?**
After using `evaluate_ballot_chance`, you will receive a success category of High, Medium, or Low based on your relative ballot chance.
