# Drainage Coefficient Calculator AI Agent Connect

> Design optimal tile drainage systems by calculating drainage coefficients, spacing, and depth.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_W4FloXN52zPH7REwoFIrBWvJTSdZH89Zh49oHsIb/ai-agent-connect
- **Tags:** drainage, soil, irrigation, agronomy, hydrology

## Description

This MCP server provides technical tools for designing efficient tile drainage systems. It helps engineers and agronomists balance water removal needs with crop requirements. Use `design_system_summary` to generate a complete design package including drainage coefficient, spacing, and depth. You can also use `get_drainage_coefficient` to determine specific removal rates or `calculate_drain_spacing` and `calculate_drain_depth` for individual component design. The tool accounts for soil permeability, rainfall intensity, crop waterlogging tolerance, and land slope, including specialized support for subirrigation mode.

## Tools

### calculate_drain_depth
Determines the appropriate vertical placement for the drainage pipes

### calculate_drain_spacing
Determines the optimal distance between lateral drain pipes

### design_system_summary
Provides a complete design package (coefficient, spacing, and depth) for a specific field setup

### get_drainage_coefficient
Determines the required rate of water removal for a specific scenario

## Prompt Examples

**Prompt:** 
```
Provide a complete drainage system design for a field with 5cm rainfall, 0.5 soil permeability, 0.8 crop tolerance, and 1% slope.
```

**Response:** 
```
The recommended design is a drainage coefficient of 1.2 cm/day, drain spacing of 15.5 meters, and a drain depth of 110 cm.
```

**Prompt:** 
```
What is the required drainage coefficient for a 10cm storm with 0.2 soil permeability and 0.5 crop tolerance?
```

**Response:** 
```
The required drainage coefficient is 4.5 cm/day.
```

**Prompt:** 
```
Calculate the drain spacing for a coefficient of 2.0, permeability of 0.4, depth of 100, and slope of 2.
```

**Response:** 
```
The optimal drain spacing is 22.4 meters.
```

## Frequently Asked Questions

**How do I design a full drainage system?**
Use the `design_system_summary` tool. It will calculate the drainage coefficient, spacing, and depth in one go based on your field parameters.

**Can this tool handle subirrigation?**
Yes, by setting the `isSubirrigationMode` parameter to true, the tools will adjust calculations to support raising the water table for crop needs.

**What inputs are required for spacing calculations?**
To use `calculate_drain_spacing`, you need the drainage coefficient, soil permeability, drain depth, and the ground slope.
