# Boarding Room Assignment Engine logic. AI Agent Connect

> Boarding Room Assignment Engine handles the complex math of pet facility management. It matches animal reservations to specific enclosures by checking species compatibility, size needs, and isolation requirements. Your AI client uses this logic to prevent capacity overflows and ensure each animal gets a safe, appropriate space.

## Overview
- **Category:** scheduling
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_yiSUtYgtgGNHlaXIRe9B0Deq7Fj5INwYH9N0UInq/ai-agent-connect
- **Tags:** boarding, scheduling, pet-management, facility-logistics, occupancy

## Description

Managing a boarding facility involves more than finding an empty cage. You have to account for species compatibility, size constraints, and specific isolation needs. This MCP acts as a logic engine that handles those variables for you. Instead of manually checking each enclosure, you can ask your AI client to find suitable spaces or check if a new reservation will cause a conflict with existing cleaning schedules or capacity limits. It looks at the biological and operational rules of your facility to ensure assignments are safe and efficient. You can use it to map out daily occupancy or find alternative housing when a primary assignment fails due to a scheduling conflict. It turns messy reservation lists into a structured, validated boarding plan.

## Tools

### find_available_enclosures
This tool identifies which enclosures can host a specific reservation based on its physical and biological attributes.

### generate_occupancy_schedule
Use this to create a day by day map of all current reservations across your entire facility.

### suggest_alternatives
This tool finds valid enclosure assignments for any reservation that is currently stuck in a conflict.

### validate_assignments
This tool checks a proposed set of assignments to catch rule violations like capacity overflows or cleaning conflicts.

## Prompt Examples

**Prompt:** 
```
Which enclosures are suitable for a large dog that requires isolation?
```

**Response:** 
```
The available enclosures for a large dog requiring isolation are Enclosure ID: ENC-004 and Enclosure ID: ENC-009.
```

**Prompt:** 
```
Check if assigning Reservation R-101 to Enclosure E-50 is valid.
```

**Response:** 
```
The assignment is valid. There are no capacity conflicts or species mismatches for this period.
```

**Prompt:** 
```
Show me the occupancy for next Tuesday.
```

**Response:** 
```
On Tuesday, Enclosure E-01 is occupied by Reservation R-202, and Enclosure E-02 has 2 unused slots.
```

## Capabilities

### Constraint-based matching
Your agent uses species and size data to pick the right enclosure.

### Conflict detection
Your agent checks proposed assignments against capacity and cleaning rules.

### Occupancy mapping
Your client generates daily schedules to see where you have open space.

### Conflict resolution
Your agent finds new enclosure options when a reservation cannot be placed.

## Use Cases

### New Reservation Intake
When a client books a stay, your agent finds an enclosure that fits the animal's size and species needs.

### Daily Capacity Planning
Managers view the occupancy schedule to see which days have available space for walk-ins.

### Conflict Resolution
If a planned assignment violates a rule, your agent suggests a different enclosure that works.

### Safety Auditing
The tool validates that all current assignments follow facility rules regarding isolation and capacity.

## Benefits

- Prevents species mismatches and capacity overflows.
- Automates the search for suitable enclosure spaces.
- Identifies unused capacity through daily occupancy maps.
- Resolves scheduling conflicts by suggesting alternative enclosures.

## How It Works

Connect your AI client to the Vinkius hosted MCP to start managing your facility logic.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your reservation or enclosure data to your AI agent.
3. Ask your agent to find, validate, or schedule assignments.
4. Review the suggested schedules or validated assignments provided by your agent.

## Frequently Asked Questions

**How does this MCP handle animal safety?**
It uses validation tools to check assignments against species compatibility, size requirements, and isolation needs.

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

**What happens if an enclosure is full?**
The suggest_alternatives tool can find different, valid enclosures for reservations that are in conflict.

**Does this manage my actual booking software?**
This MCP acts as a logic engine to process and validate your boarding data through your AI client.

**How do I see my facility's availability?**
You can ask your AI client to generate an occupancy schedule to see a day by day map of your enclosures.

**How does the engine handle cleaning requirements?**
The engine includes a mandatory cleaning turnaround buffer. `validate_assignments` ensures no new reservation begins before the required cleaning time for the previous occupant is complete.

**Can I find alternative rooms if a reservation is rejected?**
Yes, you can use `suggest_alternatives` to find valid enclosure IDs that satisfy all species, size, and isolation constraints for a specific reservation.

**How is unused capacity calculated?**
The `generate_occupancy_schedule` tool calculates unused capacity daily by subtracting the number of animals currently assigned to an enclosure from its total capacity.
