# Time-Zone Insulin Adjuster AI Agent Connect

> Deterministic basal insulin and meal timing adjustment calculator for travel.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_JyxzolmQXfedQL2s35qr1FAwSzT78M0Wp4G4LdC6/ai-agent-connect
- **Tags:** insulin, diabetes, travel, time-zone, medical-calculator

## Description

This MCP server provides precise calculations for adjusting basal insulin dosing and meal timing when traveling across time zones. By analyzing the direction of travel and the specific insulin type, it provides a complete adjustment plan to maintain glycemic stability. Users can use `calculate_travel_adjustment` to determine dose changes, new injection times, and meal bolus shift instructions. It also includes `get_insulin_type_details` for specific insulin characteristics and `validate_time_format` to ensure input accuracy.

## Tools

### validate_time_format
Validates that a provided time string adheres to the required HH:mm format

### calculate_travel_adjustment
Provides a complete adjustment plan for basal insulin and meal timing based on travel direction and insulin type

### get_insulin_type_details
Provides specific characteristics and adjustment logic constraints for different insulin types

## Prompt Examples

**Prompt:** 
```
I am traveling from UTC+0 to UTC+2 using Degludec. My usual injection time is 08:00. What is my adjustment plan?
```

**Response:** 
```
The hour difference is 2. Since you are traveling East, the adjustment strategy is to reduce the basal dose by 8% or inject earlier. Your new local injection time will be adjusted accordingly.
```

**Prompt:** 
```
I am moving from UTC-5 to UTC-8 using Glargine. My usual time is 22:00. Help me adjust.
```

**Response:** 
```
The hour difference is -3. Traveling West requires increasing the basal dose by 12% or splitting the dose. Your new local injection time will be updated to reflect the longer day.
```

**Prompt:** 
```
Is '9:00 AM' a valid time format?
```

**Response:** 
```
No, the time must be in 24-hour HH:mm format, such as '09:00'.
```

## Frequently Asked Questions

**How does the tool handle different insulin types?**
The tool distinguishes between ultra-long acting and long acting insulin. For ultra-long acting types, the `calculate_travel_adjustment` tool prioritizes timing shifts, whereas for long acting types, it focuses on dose percentage adjustments.

**What happens if I travel East versus West?**
When traveling East, the day is shorter, so the tool suggests reducing the basal dose or injecting earlier. When traveling West, the day is longer, so it suggests increasing the dose or splitting it.

**Can I validate my injection time format?**
Yes, you can use the `validate_time_format` tool to ensure your time is in the correct 24-hour HH:mm format.
