# Continuous Glucose Trend Arrow Calculator AI Agent Connect

> Predictive CGM velocity and trend arrow analysis.

## Overview
- **Category:** health
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_owoyRqMTYdnrDqLpa1uy6GaNqHgd0yJg5U6OCLDc/ai-agent-connect
- **Tags:** cgm, glucose, diabetes, predictive, health-tech

## Description

This MCP server provides deterministic predictive analysis for Continuous Glucose Monitor (CGM) data. It calculates glucose velocity, visual trend arrows, and predicted glucose levels. Users can utilize `get_glucose_velocity_analysis` for a full breakdown of rate of change and predicted values, `get_trend_status` for quick visual direction, or `get_proactive_intervention_alert` to identify immediate hypoglycemia risks.

## Tools

### get_proactive_intervention_alert
Determines if an immediate corrective action is required to prevent hypoglycemia

### get_trend_status
Returns only the visual trend classification for a user to quickly interpret direction

### get_glucose_velocity_analysis
Calculates the precise rate of change, the visual trend arrow, and the predicted glucose level

## Prompt Examples

**Prompt:** 
```
Analyze my glucose: current is 90, 15 mins ago was 100, and 30 mins ago was 120.
```

**Response:** 
```
Rate of change: -1.0 mg/dL/min. Trend: Diagonal Down. Predicted BG in 30 mins: 60 mg/dL. Proactive action: consume 15g carbs immediately.
```

**Prompt:** 
```
What is my current glucose trend? Current is 150, 30 mins ago was 140.
```

**Response:** 
```
Your trend is Diagonal Up.
```

**Prompt:** 
```
Check if I need to take action. Current is 110, 30 mins ago was 130.
```

**Response:** 
```
No immediate action is required.
```

## Frequently Asked Questions

**What does the trend arrow represent?**
The trend arrow represents the velocity of your glucose change, indicating how fast your levels are rising or falling.

**How is the predicted glucose calculated?**
It is calculated by taking the current glucose level and adding the change expected over the next 30 minutes based on current velocity.

**When is a proactive action recommended?**
A proactive action like consuming carbohydrates is recommended when a 'Double Down' trend is detected while glucose is below 100 mg/dL.
