# Loot Drop Probability Engine AI Agent Connect

> Analyze loot table probabilities, pity mechanics, and economic value distributions.

## Overview
- **Category:** gaming
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_EcfTJ4r5E0i0Alo752uwjyJhAfD57pXRAkrDEhws/ai-agent-connect
- **Tags:** loot, probability, gaming-math, pity-mechanics, statistics

## Description

This MCP server provides deterministic statistical analysis for game loot systems. It allows AI agents to calculate precise drop rates, evaluate the impact of pity mechanics, and determine the economic value of loot rolls. Use `analyze_loot_probabilities` to find the likelihood of specific item drops, `calculate_economic_metrics` to determine average value per attempt, and `summarize_rarity_distribution` to view item frequency across rarity tiers.

## Tools

### analyze_loot_probabilities
Calculates the core statistical likelihoods for a specific target item within a loot table, accounting for both standard rates and pity mechanics

### calculate_economic_metrics
Evaluates the financial/value impact of a single loot roll

### summarize_rarity_distribution
Provides a high-level view of how items are distributed across different rarity tiers

## Prompt Examples

**Prompt:** 
```
What is the probability of getting a 'Dragon Sword' if the drop rate is 2% and pity is at 50 attempts?
```

**Response:** 
```
The probability of obtaining the Dragon Sword within 50 attempts, including the pity mechanic, is 63.58%.
```

**Prompt:** 
```
Calculate the average value of this loot table: [{itemName: 'Gold', dropRatePercent: 50, itemValue: 10}, {itemName: 'Silver', dropRatePercent: 50, itemValue: 5}]
```

**Response:** 
```
The average value per attempt for this loot table is 7.5.
```

**Prompt:** 
```
Show me the rarity distribution for my loot table.
```

**Response:** 
```
The distribution is: Common: 10, Uncommon: 5, Rare: 2, Epic: 1, Legendary: 1.
```

## Frequently Asked Questions

**How do I calculate the chance of a specific item dropping?**
You can use the `analyze_loot_probabilities` tool. Provide the loot table, the target item name, and the pity threshold to get detailed probability breakdowns.

**Can this tool handle pity mechanics?**
Yes, the `analyze_loot_probabilities` tool specifically calculates cumulative probabilities and pity breakpoints based on your guaranteed drop settings.

**How is the average value per attempt determined?**
The `calculate_economic_metrics` tool calculates the weighted sum of all item values multiplied by their respective drop rates.
