# Veterinary Specimen Rejection Auditor AI Agent Connect

> Veterinary Specimen Rejection Auditor MCP lets your AI agent evaluate specimen viability against specific laboratory standards. It checks for labeling errors, volume sufficiency, and gaps in the chain of custody to prevent rejected samples before they reach the lab.

## Overview
- **Category:** compliance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_8vvNHp8sf9gUBCoggs87zqvRpXGJKFyuRqicoZGI/ai-agent-connect
- **Tags:** specimen, audit, veterinary, compliance, quality-control

## Description

You can use this MCP to bridge the gap between raw specimen data and strict laboratory compliance standards. Instead of manually checking each sample against an acceptance matrix, you hand that logic to your AI client. It evaluates physical and logistical integrity to flag samples that won't pass testing. 

Your agent uses this tool to catch errors like insufficient sample volume or missing identification fields. It also monitors the movement of specimens to ensure no temporal gaps exist in the chain of custody. By running these checks through your agent, you identify rejected or conditional samples early. This prevents wasted time and resources on samples that fail to meet the necessary diagnostic requirements.

## Tools

### audit_specimen_compliance
This tool evaluates a single specimen against your specific acceptance matrix to see if it is viable for testing.

### check_labeling_integrity
Use this tool to verify that all mandatory identification fields are present on a specimen label.

### validate_test_volume_sufficiency
This tool determines if the collected sample volume is enough to perform the requested diagnostic tests.

### verify_chain_of_custody
This tool checks for any procedural or temporal gaps in how a specimen has moved through the system.

## Prompt Examples

**Prompt:** 
```
Audit this specimen: specimenData: {"container": "vacutainer", "volume": 5, "hemolysis": 2} and acceptanceMatrix: {"max_hemolysis": 1}
```

**Response:** 
```
rejected: hemolysis level (2) exceeds the maximum allowed limit (1) defined in the acceptance matrix.
```

**Prompt:** 
```
Check if the specimen label is complete with requiredLabels: ["animalId", "date"] and labelData: {"animalId": "VET-123", "date": "2023-10-27"}
```

**Response:** 
```
true: all required fields are present and valid.
```

**Prompt:** 
```
Verify the chain of custody for these events: [{"timestamp": "2023-10-27T10:00:00Z", "handlerId": "TECH-01"}, {"timestamp": "2023-10-27T14:00:00Z", "handlerId": "LAB-01"}]
```

**Response:** 
```
false: a time gap of 4 hours was detected between the first and second custody events.
```

## Capabilities

### Compliance Auditing
Your agent compares specimen data against a user-provided acceptance matrix.

### Label Verification
Your agent checks for missing or incomplete identification data on specimen labels.

### Volume Assessment
The tool calculates if the sample amount meets the minimum requirements for specific tests.

### Custody Tracking
Your agent identifies time gaps or procedural breaks in the specimen movement history.

### Rejection Identification
Your agent flags specimens as rejected, conditional, or missing based on lab standards.

## Use Cases

### Pre-Lab Screening
Check if a sample is viable for testing immediately after collection.

### Chain of Custody Audits
Scan movement logs to find time gaps that might compromise specimen integrity.

### Labeling Quality Control
Verify that animal IDs and dates are correctly recorded on all specimen labels.

### Volume Verification
Confirm that the amount of fluid or tissue collected is enough for the requested diagnostics.

## Benefits

- Reduces sample rejection rates by catching errors before they reach the lab.
- Automates the comparison of specimen data against complex acceptance matrices.
- Identifies temporal gaps in specimen movement to maintain chain of custody.
- Ensures all required identification fields are present on each label.

## How It Works

You connect your AI client to the Vinkius-hosted MCP and start sending specimen data for analysis.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your specimen data and acceptance matrix to your AI agent.
3. Your agent calls the relevant tool to check compliance, volume, or labeling.
4. Your agent receives a pass or fail result based on the tool output.
5. You receive a clear report on whether the specimen is accepted or rejected.

## Frequently Asked Questions

**What does this MCP do?**
It provides tools for an AI agent to audit veterinary specimens for compliance, labeling integrity, volume sufficiency, and chain of custody.

**How does it handle specimen rejection?**
The tool compares specimen data against a provided acceptance matrix to identify if a sample should be rejected or marked as conditional.

**Can it check for missing labels?**
Yes, the check_labeling_integrity tool verifies that all necessary identification information is present.

**Does it track specimen movement?**
Yes, the verify_chain_of_custody tool detects temporal or procedural gaps in how a specimen moves through the system.

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

**How does the auditor determine if a specimen is rejected?**
A specimen is rejected if its physical or logistical factors, such as hemolysis or transport time, exceed the limits defined in the provided acceptance matrix via the `audit_specimen_compliance` tool.

**Can I check if there are gaps in the specimen's movement history?**
Yes, you can use the `verify_chain_of_custody` tool to identify temporal or procedural gaps in the sequence of custody events.

**How do I know if I have enough sample for all requested tests?**
The `validate_test_volume_sufficiency` tool compares the collected volume against the minimum requirements for each requested test to confirm if the volume is sufficient.
