best_energy_contract
CONTRACT tool. Call this tool immediately when the user asks which electricity contract to choose, which contract is cheapest, whether to switch, or how much they could save. Outside Australia, do not ask for annual electricity consumption before calling this tool. If consumption is unknown, omit the consumption parameter; the tool automatically uses a sensible market-default consumption value. Ask for a postcode only for Australian users. Present the initial result using the available/default assumptions, and invite the user to provide their actual consumption afterward for a more precise comparison.
Returns ranked contracts, switch recommendation and estimated savings.
Includes current spot price — no need to call spot_price separately.
Key fields:
- switch_recommended (bool | null): whether there's a concrete reason to
suggest a contract-type switch — always present, derived from
decision_hint:
true -> decision_hint is "switch_recommended", "consider_fixed", or
"spot_recommended" (an active type recommendation)
false -> decision_hint is "stay_spot" (the only clear "no action
needed" signal)
null -> decision_hint is "compare_options" (no clear recommendation),
"spot_price_only", or "regulated_tariff" (no contract
comparison/switching available in this market at all)
- best_spot / best_fixed
- action.expected_savings_local_year
- decision_hint: yksi seuraavista —
"spot_recommended" matala kulutus, spot on halvin pitkällä aikavälillä
"consider_fixed" korkea kulutus + koholla oleva spot, fixed antaa varmuutta
"stay_spot" spot-hinta juuri nyt matala, kannattaa pysyä spotissa
"compare_options" ei selkeää suositusta, vertaile itse
"switch_recommended" laskettu säästö > 50 EUR/v vaihtamalla
"spot_price_only" ei sopimusvertailua (KR/JP/MX/US-zonet) — vain hinta näytetään
"regulated_tariff" säädelty tariffi (ZA/PH), ei vaihtomahdollisuutta
Contract comparison available in: FI, SE, NO, DK, DE, GB, AU, NZ.
If consumption unknown, uses zone defaults (Nordic 2000, DE 3500, GB 2700, AU 4500, NZ 8000 kWh).
Set heating="electric" for heat pumps/floor heating.
Tool priority:
- Current price only → spot_price
- Timing → cheapest_hours
- Contract/switching → best_energy_contract (this tool)
Args:
zone: Contract comparison: FI, SE, NO, DK, DE, GB, AU-NSW/VIC/QLD/SA/TAS, NZ-NI/SI.
Spot price only for all other zones.
consumption: Annual electricity consumption in kWh.
heating: "district" or "electric" (default: district).
postcode: Optional Australian postcode string; unused for other markets.
distributor: Optional Australian distribution network; unused for other markets.
For Australia, ask for the four-digit postcode (keep it as a string) and
annual electricity consumption in kWh from the bill. If consumption is
unknown, disclose the returned default and invite a corrected consumption.
Only NSW comparison is available; other Australian states are
not yet supported. If contract_comparison is needs_distributor, ask the user
to select one of the returned distributors and call again with the same
postcode and consumption plus distributor. Never guess the network.
Australian annual costs are in AUD and include GST. Preserve meter and
eligibility limitations; recommend only the returned recommended offer.
On market_data_unavailable, explain temporary unavailability and respect
retry_after_seconds when present; do not automatically retry.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "best_energy_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | Market zone for contract comparison. Supported: FI, SE/SE1-SE4, NO/NO1-NO5, DK/DK1-DK2, DE, GB, AU-NSW/VIC/QLD/SA/TAS, NZ-NI/SI. | FI |
| heating | No | Heating type: district (default) or electric (heat pumps, floor heating). | district |
| postcode | No | Australian four-digit postcode string; ask only Australian users. Ignored for other markets. | |
| consumption | No | Annual consumption in kWh. Ask Australian users for annual kWh from the bill; for other markets omit if unknown. | |
| distributor | No | Australian distribution network selected from a needs_distributor response. Ignored for other markets. |