# Environmental Geoscience TSS Calculator AI Agent Connect

> Environmental Geoscience TSS Calculator MCP handles the heavy lifting for sediment analysis. It connects your lab filtration data and hydrological measurements to calculate TSS concentration, instantaneous mass loads, and cumulative loads over time. Your AI client can now process complex water quality datasets and verify sample integrity without manual math.

## Overview
- **Category:** environmental-science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_A4ekpuaMJDAK5XXshV2PtQqwf0umYkin5RcCRkee/ai-agent-connect
- **Tags:** tss, water-quality, hydrology, sediment-transport, environmental-science

## Description

You can stop manually calculating sediment transport metrics. This MCP connects your AI client directly to the math required for Total Suspended Solids (TSS) analysis. Instead of jumping between spreadsheets and calculators, you provide your raw laboratory weights and streamflow data to your agent. It handles the conversion between units and the calculation of mass loads instantly. You can use it to check if your lab results are physically possible or to run statistical analysis on multiple replicates to find the mean and standard deviation. It bridges the gap between raw field measurements and the final metrics you need for environmental reporting.

## Tools

### calculate_tss_metrics
This tool calculates TSS concentration and mass loads from your input data.

### convert_tss_units
Use this to change concentration or load values between different measurement units.

### get_replicate_statistics
This tool provides statistical analysis, like mean and standard deviation, for multiple TSS measurements.

### validate_sample_integrity
This tool checks your laboratory weights to ensure the sample is physically possible.

## Prompt Examples

**Prompt:** 
```
Calculate TSS metrics for a sample with an unfiltered mass of 500mg, a filtered mass of 450mg, a sample volume of 1L, a streamflow of 2m3/s, and a duration of 2 hours using the Metric system.
```

**Response:** 
```
The TSS concentration is 50 mg/L, the instantaneous load is 100 kg/s, and the cumulative load is 720,000 kg.
```

**Prompt:** 
```
I have three TSS concentrations: 12.5, 13.2, and 11.8. What are the statistics?
```

**Response:** 
```
The mean concentration is 12.5, the median is 12.5, and the standard deviation is 0.7.
```

**Prompt:** 
```
Check if these weights are possible: filter mass 10mg, residue mass 5mg, total mass 12mg.
```

**Response:** 
```
No, the sample is not physically possible because the sum of the filter and residue mass exceeds the total sample mass.
```

## Capabilities

### Mass Load Calculation
Your agent calculates instantaneous and cumulative loads using streamflow and concentration data.

### Data Validation
The MCP checks laboratory weights to catch impossible sample results immediately.

### Statistical Analysis
Your AI client derives mean, median, and standard deviation from multiple replicates.

### Unit Conversion
The tool transforms TSS concentration and load values between different units.

## Use Cases

### Watershed Loading Studies
Calculate how much sediment is moving through a stream over a specific duration.

### Lab Quality Control
Verify that filter and residue weights align with the total sample mass.

### Water Quality Monitoring
Convert TSS concentrations into mass loads for regulatory compliance reporting.

### Replicate Analysis
Get quick statistical summaries of multiple TSS measurements from a single dataset.

## Benefits

- Eliminates manual math errors in sediment concentration calculations.
- Identifies impossible lab results through weight validation.
- Speeds up the transition from lab data to mass load reporting.
- Automates statistical summaries for multiple sample replicates.

## How It Works

Connect your AI client to Vinkius to start running sediment calculations.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your lab weights, sample volumes, or streamflow data to your agent.
3. The agent calls the specific tool needed for your calculation.
4. The MCP returns the processed metrics or statistical results directly to your chat.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates TSS concentration, instantaneous mass load, and cumulative mass load.

**Can it check if my lab data is correct?**
Yes, the validate_sample_integrity tool checks if your laboratory weights are physically possible.

**Does it support unit conversions?**
Yes, you can use the convert_tss_units tool to adjust concentration or load values.

**How does it handle multiple samples?**
The get_replicate_statistics tool provides mean, median, and standard deviation for multiple measurements.

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

**What is the purpose of `calculate_tss_metrics`?**
It calculates the concentration of suspended solids and the resulting mass loads based on sample volume and streamflow.

**How can I check if my laboratory weights are valid?**
You can use the `validate_sample_integrity` tool to ensure the filter mass and residue mass are physically consistent with the total sample mass.

**Can I convert units within the tool?**
Yes, the `convert_tss_units` tool allows you to adjust concentration or load values between different measurement scales.
