# Schedule Adherence Calculator AI Agent Connect

> Schedule Adherence Calculator MCP lets your AI client compare planned work intervals against actual agent states. It identifies exactly where schedules slip, providing specific metrics on adherence percentages and the root causes of non-adherence without manual data crunching.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_vOuHwHzdZA1NHrjoArkWvf7IwkukdhzSIXNNeC4H/ai-agent-connect
- **Tags:** adherence, scheduling, workforce, contact-center, metrics

## Description

You can use this MCP to bridge the gap between your workforce management plans and what is actually happening on the floor. Instead of manually auditing logs, your agent can pull real-time data to see if staff are following their assigned tasks. It compares planned activity intervals against actual states to find discrepancies. You can get a high-level view of how a specific agent performed or dive into granular, minute-by-minute data to see where things went wrong. It also helps you clean up your data by checking for schedule gaps or overlapping shifts before you run your reports. This makes it easy to pinpoint if non-adherence is due to unexpected breaks, late arrivals, or simple scheduling errors.

## Tools

### get_adherence_causes
This tool identifies the specific state mismatches that caused an agent to fall out of adherence.

### get_adherence_summary
This tool provides a high-level overview of adherence metrics for a specific agent over a set timeframe.

### get_interval_details
This tool delivers a granular breakdown of specific scheduled intervals and their adherence status.

### validate_schedule_integrity
This tool checks for gaps or overlaps in planned schedules to ensure your adherence math stays accurate.

## Prompt Examples

**Prompt:** 
```
What was the adherence percentage for agent 123 between 2024-01-01T08:00:00Z and 2024-01-01T16:00:00Z?
```

**Response:** 
```
The adherence percentage for agent 123 was 94.5%, with 465 adherent minutes and 35 non-adherent minutes.
```

**Prompt:** 
```
Why was agent 456 non-adherent during their shift on 2024-02-15?
```

**Response:** 
```
The primary causes for non-adherence were 'Unexpected Break' (15 minutes) and 'Late Arrival' (5 minutes).
```

**Prompt:** 
```
Show me the detailed interval breakdown for agent 789 for the morning shift.
```

**Response:** 
```
Your agent had 4 adherent intervals and 1 non-adherent interval. The non-adherent interval occurred during the 'Lunch' state with a variance of 10 minutes.
```

## Capabilities

### Adherence Calculation
Your agent compares planned intervals against actual states to find adherence percentages.

### Root Cause Analysis
Your agent identifies specific reasons like late arrivals or unexpected breaks for non-adherence.

### Schedule Validation
Your agent checks for scheduling errors like overlaps or gaps before calculating metrics.

### Granular Reporting
Your agent breaks down adherence status at the specific interval level.

## Use Cases

### Daily Performance Audits
Ask your agent to pull an adherence summary for a specific shift to see how the team performed.

### Investigating Non-Adherence
Use your agent to find out if an agent's non-adherence was caused by an unexpected break or a late start.

### Schedule Cleanup
Run a validation check to ensure there are no gaps or overlaps in your planned staff schedules.

### Granular Staff Coaching
Get specific interval details to show an agent exactly when they deviated from their plan.

## Benefits

- Automates the comparison of planned versus actual agent states.
- Pinpoints specific causes for non-adherence like late arrivals.
- Detects scheduling errors like overlaps before they skew your data.
- Provides minute-by-minute interval breakdowns for deep dives.

## How It Works

Connect your preferred AI client to Vinkius to start running adherence checks immediately.

1. Connect your AI client to the Vinkius hosted MCP.
2. Ask your agent to pull adherence data or validate a schedule.
3. The MCP compares planned activity against actual states.
4. Your agent receives the calculated metrics or error reports.

## Frequently Asked Questions

**What can this MCP do for my contact center?**
It calculates how closely your staff follows their assigned schedules by comparing planned intervals to actual states.

**How does it identify why an agent was non-adherent?**
It uses specific tools to find state mismatches, such as unexpected breaks or late arrivals.

**Can I check for errors in my schedules?**
Yes, you can use the validation tool to check for gaps or overlaps in your planned schedules.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client like Claude, Cursor, or Windsurf.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use once you connect.

**How is adherence calculated?**
Adherence is calculated by checking if your agent's actual state matches the planned state, accounting for any configured tolerance minutes for transitions.

**What is the purpose of the tolerance setting?**
The tolerance setting provides a grace period for transitions between states, ensuring minor timing differences don't trigger non-adherence.

**Can I check for errors in my planned schedule?**
Yes, you can use `validate_schedule_integrity` to check for gaps or overlapping activities in the planned schedule.
