# Cable Tray Fill Calculator MCP. AI Agent Connect

> Cable Tray Fill Calculator MCP handles the math for electrical containment systems. It lets your AI client calculate cross-sectional area, determine usable tray capacity based on fill limits, and aggregate totals across different tray segments. It's built to ensure your electrical installations meet physical and regulatory constraints without manual calculation errors.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_OH7NYDvE4cd5gNPxUegGYXZwXwiKShw40OcmMae0/ai-agent-connect
- **Tags:** cable-tray, electrical-engineering, capacity-calculation, containment, industrial

## Description

You can use this MCP to manage complex electrical containment math directly within your AI client. Instead of manually calculating areas and checking against fill limits, you can hand the raw cable dimensions and tray specs to your agent. It handles the heavy lifting of determining how much space cables actually take up compared to the available tray capacity. 

Whether you are checking a single tray or summing up multiple segments for a large industrial installation, the math stays consistent. You can verify that your cable diameters are valid for the workload and ensure that your tray dimensions stay within safe, regulatory bounds. It's a practical way to keep your electrical designs within spec while using your preferred coding or reasoning environment.

## Tools

### calculate_tray_occupancy
This tool finds the total area used by a specific set of cables and compares it to the tray's limits.

### get_segment_totals
This tool aggregates data to show the total impact across multiple tray segments or installation runs.

### validate_tray_constraints
This tool checks if your tray dimensions and fill limits are physically and regulatorily sound.

### verify_cable_dimensions
This tool confirms that the list of cable diameters you provided is complete and valid for the job.

## Prompt Examples

**Prompt:** 
```
Calculate the occupancy for a tray that is 300mm wide and 50mm deep with a 50% fill limit, containing 10 cables with a 15mm diameter.
```

**Response:** 
```
The total occupied area is 1767.15 mm2, the usable capacity is 7500 mm2, the fill percentage is 23.56%, and the spare capacity is 5732.85 mm2.
```

**Prompt:** 
```
Check if a tray with 500mm width, 100mm depth, and a 40% fill limit is valid.
```

**Response:** 
```
The tray constraints are valid and within the specified bounds.
```

**Prompt:** 
```
Verify if my cable list is complete for these groups: [{'diameter': 12, 'quantity': 5}, {'diameter': 0, 'quantity': 2}].
```

**Response:** 
```
The validation failed. There is a missing diameter warning for the second cable group.
```

## Capabilities

### Occupancy Math
Your agent calculates the exact area consumed by cables relative to tray limits.

### Constraint Validation
The MCP checks if tray dimensions and fill limits meet safety and regulatory requirements.

### Data Aggregation
Your agent sums up occupancy data across multiple different tray segments.

### Input Verification
The tool checks your cable diameter lists for missing or invalid data before running calculations.

## Use Cases

### New Installation Design
Calculate if a planned set of cables will fit within a new tray system while respecting fill limits.

### Retrofit Capacity Checks
Check how much spare capacity remains in an existing tray after adding new cables.

### Regulatory Compliance
Verify that tray dimensions and fill percentages stay within safe engineering bounds.

### Multi-segment Audits
Aggregate occupancy data across an entire run of multiple tray segments to see total load.

## Benefits

- Eliminates manual area and percentage calculations.
- Prevents design errors by validating cable diameters and tray constraints.
- Provides a single source of truth for occupancy across multiple tray segments.
- Works directly within your existing AI-driven design workflow.

## How It Works

You connect the MCP to your AI client and start feeding it electrical specs.

1. Connect your AI client to the Vinkius hosted MCP.
2. Provide cable diameters, quantities, and tray dimensions to your agent.
3. Your agent uses the specific tools to run calculations or validations.
4. Receive precise occupancy percentages and capacity totals in your chat interface.

## Frequently Asked Questions

**What AI clients can I use with this MCP?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect it to your client and it's ready to use.

**Can it check if my tray dimensions are safe?**
Yes, the validate_tray_constraints tool checks if your tray dimensions and fill limits are physically and regulatorily sound.

**How does it handle multiple tray segments?**
The get_segment_totals tool allows your agent to aggregate data from multiple different runs or segments.

**What happens if I provide incomplete cable data?**
The verify_cable_dimensions tool will check your list and alert you if any diameters are missing or invalid.

**How do I calculate the fill percentage for a specific tray?**
You can use the `calculate_tray_occupancy` tool by providing the cable groups (diameter and quantity), the tray width, the tray depth, and the desired fill limit percentage.

**Can I aggregate results from multiple different tray segments?**
Yes, use the `get_segment_totals` tool to summarize the aggregate occupied area, usable capacity, and average fill percentage across multiple segments.

**What happens if I forget to include a cable diameter?**
The `verify_cable_dimensions` tool will identify any missing or invalid diameter values and provide a warning.
