EDF: Compare Years
edf_compare_yearsCompare each month's electricity or gas consumption against the same month of the previous year, returning kWh, euros and percentage change to reveal how usage and cost shifted.
Instructions
Each month of a year against the same month of the year before, from EDF's own comparison: kWh and euros both years and the change in %, for electricity or gas. total_complete_months sums only months present in both years. EDF rounds to whole kWh and euros. These are raw figures, NOT weather-adjusted: pair them with edf_get_weather (step=month) to tell a colder winter from a change in the home, or use edf_compare_periods for EDF's weather verdict on electricity.
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": {
"energy": "<energy>"
},
"name": "edf_compare_years"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | The year to compare with the one before, e.g. 2026. Defaults to the current year. | |
| energy | Yes | Which meter to compare. |