# MRT vs Grab Decision Engine AI Agent Connect

> A deterministic decision tool to choose between MRT and ride-hailing in Singapore.

## Overview
- **Category:** transportation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_sTdIRDexT2CrZ7TDvbKdgNwWg43hZgzv0ozhZVie/ai-agent-connect
- **Tags:** singapore, commute, mrt, grab, decision-engine

## Description

This MCP server provides precise transport recommendations for commuters in Singapore. By analyzing distance, urgency, weather, and peak hours, it calculates the exact time and cost trade-offs between the MRT and ride-hailing services like Grab or Gojek. Use `calculate_commute_strategy` to get a full comparison, `get_weather_surge_multiplier` to check weather-based price increases, or `is_peak_hour` to identify rush hour windows.

## Tools

### calculate_commute_strategy
Provide a complete comparison between MRT and Grab/Gojek based on current trip conditions

### get_weather_surge_multiplier
Retrieve the specific cost multiplier applied to ride-hailing services based on environmental conditions

### is_peak_hour
Determine if the current time falls within Singapore's standard peak commuting periods

## Prompt Examples

**Prompt:** 
```
I need to travel 5km. I am in a hurry (high sensitivity), it is currently raining, and the time is 08:30. Should I take MRT or Grab?
```

**Response:** 
```
Take Grab
```

**Prompt:** 
```
I have a 10km trip. Time sensitivity is low, weather is sunny, and it is 14:00. What is the best option?
```

**Response:** 
```
Take MRT
```

**Prompt:** 
```
It is a storm and I have a 3km trip. I am not in a rush (low sensitivity). What should I do?
```

**Response:** 
```
Take Grab
```

## Frequently Asked Questions

**How does the engine decide between MRT and Grab?**
The engine evaluates if the cost per minute saved by taking a Grab is worth the urgency. If you are in a storm or have high time sensitivity, it recommends Grab. Otherwise, it checks if the extra cost is less than $2 per minute saved.

**Does weather affect the Grab cost?**
Yes, you can use `get_weather_surge_multiplier` to see how much the fare increases. Storms have the highest multiplier, followed by rain.

**Can I check if it is currently peak hour?**
Yes, the `is_peak_hour` tool identifies if the provided 24-hour time falls within Singapore's morning or evening rush hours.
