# Ancillary Service Revenue Calculator AI Agent Connect

> Ancillary Service Revenue Calculator MCP handles the math for grid ancillary service settlements. Your AI client uses this tool to calculate capacity earnings, energy deployment revenue, and service-based penalties. It ensures your data is complete before running final net revenue aggregations, making it a reliable engine for energy market financial modeling.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Wga3HTecrIvALni3TKmm0v5PbT5xm0AqpP5gw2MD/ai-agent-connect
- **Tags:** grid, revenue, ancillary-services, energy-market, settlement

## Description

You can use this MCP to handle the heavy lifting of grid ancillary service calculations. Instead of manually building spreadsheets for every settlement period, you give your AI client the raw telemetry and pricing data. It calculates exactly what you earned for being available to the grid and what you earned when you actually deployed energy during a grid event. It also accounts for the downsides, like penalties for failing to meet response time requirements or availability targets. You can verify that your datasets are complete before running the math to avoid errors. It's a direct way to move from raw grid data to a final net revenue figure without the manual calculation errors that plague energy market settlements.

## Tools

### calculate_activation_revenue
This tool calculates the revenue earned from actual energy deployment during specific grid events.

### verify_telemetry_integrity
This tool checks your dataset to ensure it contains all the information needed for accurate calculations.

### calculate_capacity_revenue
Use this to determine the earnings received for maintaining availability to provide grid reserves.

### calculate_net_revenue
This tool aggregates all revenue and penalty components into a single final payable amount.

### calculate_service_penalties
This tool calculates total deductions based on service failures or availability issues.

## Prompt Examples

**Prompt:** 
```
Calculate the capacity revenue for 500 MW of reserved capacity at a price of 15 per unit with 0.95 availability.
```

**Response:** 
```
The final capacity revenue is 7125.
```

**Prompt:** 
```
What is the net revenue if capacity revenue is 1000, activation revenue is 500, and total penalties are 200?
```

**Response:** 
```
The net revenue is 1300.
```

**Prompt:** 
```
Calculate activation revenue for 100 units of energy at a price of 50 with a performance score of 0.9.
```

**Response:** 
```
The final activation revenue is 4500.
```

## Capabilities

### Capacity Earnings
Your agent calculates payments for being available to provide reserves.

### Activation Math
Your AI client computes revenue from energy deployment during grid events.

### Penalty Calculation
The tool determines deductions caused by service failures.

### Data Validation
Your agent checks telemetry integrity to ensure calculations are accurate.

### Net Settlement
The tool aggregates all components into a final payable amount.

## Use Cases

### Settlement Auditing
Compare your internal records against the MCP's calculated net revenue to find discrepancies.

### Revenue Forecasting
Input projected capacity and availability to estimate upcoming grid service earnings.

### Penalty Impact Analysis
Model how specific service failures or response time issues will affect your total payout.

### Telemetry Verification
Run a check on your datasets to ensure you have the necessary metrics for a full settlement run.

## Benefits

- Reduces manual errors in complex energy settlement math.
- Validates data completeness before running financial calculations.
- Aggregates multiple revenue and penalty streams into one figure.

## How It Works

Connecting to this MCP gives your AI client immediate access to specialized energy math tools.

1. Connect your AI client to the MCP via Vinkius.
2. Provide the relevant energy market data or telemetry to your agent.
3. Your agent uses the toolset to calculate capacity, activation, or penalties.
4. Your agent aggregates the results into a final net revenue amount.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates capacity revenue, activation revenue, service penalties, and the final net revenue for grid ancillary services.

**How does it handle service failures?**
It uses the calculate_service_penalties tool to determine deductions based on failures in service or availability.

**Can it check if my data is sufficient for calculation?**
Yes, the verify_telemetry_integrity tool checks if your dataset is complete enough to perform the math.

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

**Does it calculate the final amount owed?**
Yes, the calculate_net_revenue tool aggregates all components to find the final payable amount.

**How do I calculate the final amount owed to a provider?**
You can use `calculate_net_revenue` to aggregate the results from capacity and activation calculations while subtracting any penalties identified by `calculate_service_penalties`.

**Can I check if I have enough data to run a calculation?**
Yes, use `verify_telemetry_integrity` to check if the mandatory fields like capacity, price, energy, performance, and availability are present in your dataset.

**Does this tool handle penalties for slow response times?**
Yes, `calculate_service_penalties` is designed to calculate deductions based on response time violations and availability thresholds.
