Get Price Statistics
get_price_statisticsNeed to analyze Alberta electricity price patterns? Get key statistics like mean, median, range, standard deviation, and percentiles from hourly pool price data for any interval.
Instructions
Calculates count, mean, median, range, population standard deviation, negative/high price hours, and requested percentiles from complete hourly Pool Price observations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": "<request>"
},
"name": "get_price_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | Yes | Provenance and semantic metadata attached to dataset responses. | |
| warnings | No | ||
| percentiles | Yes | ||
| observation_count | Yes | ||
| median_cad_per_mwh | No | ||
| average_cad_per_mwh | No | ||
| maximum_cad_per_mwh | No | ||
| minimum_cad_per_mwh | No | ||
| negative_price_hours | No | ||
| standard_deviation_cad_per_mwh | No | ||
| hours_at_or_above_100_cad_per_mwh | No |