# Soil Texture Classifier AI Agent Connect

> Classifies soil texture using the USDA soil texture triangle based on particle size distribution.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_JMJ5akzvfeANTNwpKZ2Y4Miior0ZQ89IYcOJHgd7/ai-agent-connect
- **Tags:** soil, usda, agriculture, geology, classification

## Description

This MCP server provides specialized tools for soil scientists and agricultural engineers to determine soil texture classifications. By inputting the percentages of sand, silt, and clay, users can utilize `classify_soil_texture` to identify the specific USDA texture class. The server also includes `validate_composition` to ensure laboratory measurements sum to exactly 100%, `get_texture_boundaries` to retrieve threshold ranges for the 12 USDA classes, and `batch_classify_samples` for processing multiple samples at once. It is designed to handle edge cases by providing warnings when soil compositions fall near classification boundaries.

## Tools

### classify_soil_texture
The sum must be exactly 100.

Identify the specific USDA texture class for a given soil sample

### get_texture_boundaries
Retrieve the definitions or threshold ranges for the 12 USDA texture classes

### validate_composition
Verify if a set of laboratory measurements is mathematically sound

### batch_classify_samples
Process multiple laboratory samples in a single operation

## Prompt Examples

**Prompt:** 
```
Classify a soil sample with 40% sand, 40% silt, and 20% clay.
```

**Response:** 
```
The soil texture is classified as Loam.
```

**Prompt:** 
```
Check if a sample with 50% sand, 45% silt, and 5% clay is valid.
```

**Response:** 
```
The composition is valid as the total percentage is 100%.
```

**Prompt:** 
```
What are the boundaries for the Clay texture class?
```

**Response:** 
```
The Clay texture class is defined by specific minimum clay content thresholds within the USDA triangle.
```

## Frequently Asked Questions

**How do I ensure my soil sample is valid for classification?**
You can use the `validate_composition` tool to verify that your sand, silt, and clay percentages sum to exactly 100% before attempting to classify the texture.

**What happens if my soil sample is near a texture boundary?**
The `classify_soil_texture` tool identifies edge cases. If a sample is near a boundary, it will return a warning message to alert you that a slight variation in measurement could change the classification.

**Can I process multiple soil samples at the same time?**
Yes, the `batch_classify_samples` tool allows you to process an array of multiple laboratory samples in a single operation.
