# Wine Lab Turnaround Scheduler AI Agent Connect

> Optimize wine laboratory throughput and minimize turnaround time during harvest.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_qse9ldnN5gkhmPJNSTRW8k50hCtP8cJzfpGT5U8Z/ai-agent-connect
- **Tags:** winery, laboratory, scheduling, harvest, chemistry

## Description

This MCP server provides high-precision scheduling for wine laboratory workflows. It connects AI agents to critical winery operations, allowing for real-time management of laboratory capacity and sample routing. Use `get_current_capacity` to monitor available resources, `calculate_daily_throughput` to predict processing limits, `schedule_sample_batch` to optimize sample grouping, and `identify_bottlenecks` to detect delays in analysis types like YAN or Brix. It is designed to handle the high-pressure demands of the harvest period by prioritizing time-critical nutrient and spoilage assessments.

## Tools

### calculate_daily_throughput
Estimates how many samples of various types can be processed in a single day

### get_current_capacity
Checks the available laboratory resources and current workload

### identify_bottlenecks
Identifies which specific analysis type or equipment is causing delays

### schedule_sample_batch
Determines the optimal timing and grouping for a new set of samples

## Prompt Examples

**Prompt:** 
```
What is the current capacity of lab_001?
```

**Response:** 
```
The current capacity for lab_001 shows 75% utilization with 4 hours of available time remaining.
```

**Prompt:** 
```
Schedule a batch for 50L of wine with Brix and YAN analysis, marking it as time-critical.
```

**Response:** 
```
The batch has been scheduled (ID: B-992). It is set to start immediately due to the time-critical flag, with an estimated completion in 45 minutes.
```

**Prompt:** 
```
Are there any bottlenecks expected in the next 12 hours?
```

**Response:** 
```
A primary bottleneck is identified in YAN analysis, with an estimated delay of 30 minutes due to high sample volume.
```

## Frequently Asked Questions

**How does the scheduler handle urgent YAN testing?**
By using the `isTimeCritical` flag in `schedule_sample_batch`, the system prioritizes YAN samples to ensure immediate nutrient assessment and prevent fermentation issues.

**Can I check if the lab is overloaded?**
Yes, you can use `identify_bottlenecks` to find specific analysis types causing delays or `get_current_capacity` to see the current utilization levels.

**What analysis types are supported?**
The system supports standard wine analyses including Brix, pH, TA, YAN, and VA.
