# Bioassay Potency Calculator AI Agent Connect

> Calculate relative potency and analyze dose-response parallelism.

## Overview
- **Category:** science
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_m9lp31gbxnutvE1jLfoq846hOlLYaWaNPNttMA0e/ai-agent-connect
- **Tags:** bioassay, potency, 4pl, pharmacology, statistics

## Description

This MCP server provides specialized computational tools for bioassay analysis. It allows AI agents to determine the relative potency of a test substance compared to a reference standard using 4PL modeling. Key capabilities include using `analyze_parallelism` to verify curve shapes, `calculate_relative_potency` for potency and confidence intervals, `calculate_slope_ratio` to compare curve steepness, and `compare_efficacy` to evaluate maximum biological effects.

## Tools

### calculate_slope_ratio
Isolate and compare the steepness of the two dose-response curves

### calculate_relative_potency
Calculate the relative potency and its associated confidence intervals using a 4PL model

### analyze_parallelism
Determine if the Test and Reference dose-response curves are parallel enough to permit potency comparison

### compare_efficacy
Determine if the maximum biological effect (efficacy) of the Test substance is significantly different from the Reference

## Prompt Examples

**Prompt:** 
```
Check if these two dose-response datasets are parallel: testData=[{'dose': 0.1, 'response': 10}, {'dose': 1, 'response': 50}, {'dose': 10, 'response': 90}] and referenceData=[{'dose': 0.1, 'response': 12}, {'dose': 1, 'response': 48}, {'dose': 10, 'response': 92}].
```

**Response:** 
```
The curves are parallel with a slope ratio of 0.98 and a p-value of 0.85, confirming they can be compared.
```

**Prompt:** 
```
Calculate the relative potency for these datasets: testData=[{'dose': 0.5, 'response': 20}, {'dose': 5, 'response': 80}] and referenceData=[{'dose': 1, 'response': 20}, {'dose': 10, 'response': 80}].
```

**Response:** 
```
The relative potency is 2.0, with a confidence interval between 1.85 and 2.15.
```

**Prompt:** 
```
Compare the efficacy of the test substance against the reference using these data points: testData=[{'dose': 1, 'response': 100}] and referenceData=[{'dose': 1, 'response': 80}].
```

**Response:** 
```
The efficacy ratio is 1.25, indicating the test substance has a higher maximum biological effect than the reference.
```

## Frequently Asked Questions

**How do I ensure my data is suitable for potency calculation?**
You should first use `analyze_parallelism` to confirm that the test and reference dose-response curves have similar slopes, which is a requirement for valid potency comparison.

**What model is used for the calculations?**
The server utilizes a Four-Parameter Logistic (4PL) regression model to fit dose-response curves and derive potency values.

**Can I compare the maximum effect of two substances?**
Yes, you can use the `compare_efficacy` tool to determine if the maximum biological effect of the test substance differs significantly from the reference.
