# Terrace Design Calculator AI Agent Connect

> Design erosion control terrace systems using NRCS standards.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_RWmlPpROhwMaVAjzxPpgJhCf2LQtJLPKXMuLUVzS/ai-agent-connect
- **Tags:** erosion-control, nrcs, soil-conservation, terracing, hydrology

## Description

This MCP server provides specialized tools for designing terrace systems to mitigate soil erosion on sloped terrain. By following NRCS principles, it allows users to calculate optimal terrace spacing, determine terrace grade and channel capacity, design stable outlets, and estimate the required earthwork volume. Use `calculate_spacing` to find the distance between terraces, `calculate_grade_and_capacity` to define water movement, `design_outlet` to ensure downstream stability, and `estimate_earthwork` to plan construction volumes.

## Tools

### calculate_grade_and_capacity
Defines the longitudinal slope of the terrace and its ability to carry water

### calculate_spacing
Determines the optimal distance between terraces to prevent erosion

### design_outlet
Specifies the requirements for the water exit point to ensure downstream stability

### estimate_earthwork
Calculates the volume of soil movement required for construction

## Prompt Examples

**Prompt:** 
```
Calculate the terrace spacing for a slope with a 5% gradient, 100m length, erodibility of 0.3, rainfall intensity of 50mm/hr, and a crop rotation factor of 1.2 using broadbase terraces.
```

**Response:** 
```
The required terrace spacing is 25.5 meters with a safety factor of 1.15.
```

**Prompt:** 
```
How much earthwork volume is needed for a 150m slope with 30m spacing, using steep_backslope terraces and an average depth of 0.5m?
```

**Response:** 
```
The estimated total earthwork volume is 187.5 cubic meters with a cut/fill ratio of 1.0.
```

**Prompt:** 
```
Design an outlet for a system with a channel capacity of 500 L/s and a max flow rate of 450 L/s, where downstream sensitivity is 0.8.
```

**Response:** 
```
The recommended outlet type is a Riprap Apron with required dimensions of 2m x 3m and a velocity limit of 1.5 m/s.
```

## Frequently Asked Questions

**What standards does this tool follow?**
The design logic follows NRCS (Natural Resources Conservation Service) principles for soil and water conservation.

**How do I determine the distance between terraces?**
You can use the `calculate_spacing` tool, providing the slope gradient, length, soil erodibility, rainfall intensity, and crop rotation factor.

**Can I design different types of terraces?**
Yes, the tools support both broadbase terraces for gentle slopes and steep backslope terraces for steeper terrain.
