# Substitution Window Tracker AI Agent Connect

> Substitution Window Tracker MCP acts as a regulatory engine for football match management. It tracks remaining player substitutions, monitors bench capacity, and validates window transitions to ensure every move stays within competition rules. Your AI client uses this to manage match-day logistics without manual rule checking.

## Overview
- **Category:** compliance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_bKXnRZUvqiqcDabaZWdnfKtT49jEyq0IJcVS93xc/ai-agent-connect
- **Tags:** football, soccer, regulations, match-tracking, substitution

## Description

Managing match-day substitutions is a high-stakes game of math and timing. One wrong move can violate competition rules regarding substitution windows or bench limits. This MCP handles the heavy lifting by acting as a real-time compliance engine for football matches. You can use it to monitor exactly how many players you have left on the bench and how many substitution windows remain open. Instead of manually counting subs or checking rulebooks during a match, you let your AI agent track the state of the game. It can record every substitution event and immediately validate it against the specific constraints of your tournament. Whether you are managing phase transitions or checking if a new window can be opened, this tool keeps your data accurate and your team compliant.

## Tools

### get_bench_availability
This tool checks how many players remain on the bench for substitution.

### query_current_status
This tool retrieves the current substitution allowance and match state for a specific team.

### register_substitution
This tool records a substitution event and checks it against competition rules.

### validate_window_transition
This tool verifies if a team can open a new substitution window based on the current match phase.

## Prompt Examples

**Prompt:** 
```
What is the current substitution status for team 'T123'?
```

**Response:** 
```
Team T123 has 2 player substitutions and 1 window remaining. 3 players from the bench have already entered the pitch.
```

**Prompt:** 
```
Register a substitution for team 'T123': player 'P99' in for player 'P44' at minute 65. This is the start of a new window.
```

**Response:** 
```
Substitution successful. Remaining player substitutions: 1. Remaining windows: 0.
```

**Prompt:** 
```
Can team 'T123' open a new window during the half-time phase?
```

**Response:** 
```
Yes, the transition to half-time allows for a new substitution window.
```

## Capabilities

### Real-time Compliance
Your agent checks every substitution against tournament rules instantly.

### Bench Management
The AI tracks remaining bench depth to prevent illegal player entries.

### Window Tracking
Your agent monitors when substitution windows open and close during match phases.

### Event Logging
The tool records specific substitution events as they happen in the match.

### Status Reporting
Your AI client provides immediate updates on remaining substitution allowances.

## Use Cases

### Live Match Tracking
A coach uses the AI to check how many substitutions are left before making a tactical change.

### Rule Enforcement
An analyst registers a substitution to ensure it doesn't violate the current window constraints.

### Bench Monitoring
The AI alerts the user when bench availability is running low.

### Phase Transition Validation
A user checks if the transition to half-time allows for a new substitution window.

## Benefits

- Eliminates manual counting of substitution windows.
- Prevents rule violations by validating every substitution event.
- Provides instant visibility into bench depth.
- Automates the tracking of match phase transitions.

## How It Works

Connect your AI client to the Vinkius-hosted MCP to start managing match data.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide the team ID to your AI agent.
3. Ask the agent to check status or register a new substitution.
4. The MCP validates the action against the rules and updates the match state.

## Frequently Asked Questions

**How does this MCP prevent rule violations?**
The register_substitution tool validates every recorded event against competition rules before finalizing the entry.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any compatible client like Claude, Cursor, or Windsurf through Vinkius.

**What information can the AI retrieve about a team?**
The AI can retrieve remaining substitution allowances, current match state, and available bench depth.

**Does this track substitution windows?**
Yes, it monitors window constraints and can validate if a team can open a new window during specific match phases.

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

**How do I check if a team has any substitutions left?**
You can use the `query_current_status` tool to retrieve the remaining player substitutions and available windows for a specific team.

**Can I record a substitution that happens at half-time?**
Yes, you can use `register_substitution` to record the event. The engine will validate if the substitution is permitted during the current match phase.

**How do I know if the bench is full?**
Use the `get_bench_availability` tool to see how many players are still available on the bench for a given team.
