Energy demand charge check
wever_energy-demand-charge-checkAgent Energy: submit a commercial bill’s demand charge with interval usage and the tariff’s demand rules: optionally the tariff with its name, demand rate per kW, interval length in minutes (15 when left out), the peak window with its days (weekdays or every day) and its opening and closing times, the ratchet with its share of the highest earlier peak and its look-back months, and the power factor threshold; the intervals with each start in local meter time and its kW or kWh (an empty list when none); earlier months’ peaks for a ratchet; the measured power factor; the bill with its period, billed kW, printed demand rate, demand charge, and whether it says a ratchet or a power factor adjustment set the billed demand; and optionally the tolerance in kW (0.1 when left out). The signed report gives the intervals with the expected and supplied counts, the window and the peak inside it and at any time, the demand with the period’s own peak, the ratchet floor, the power factor, the recomputed and billed kW and their difference, the charge with the tariff and billed rates and the recomputed and billed charge, and counts them, and names an overstated charge: billed demand above the highest counted interval, a peak taken outside the window, a ratchet or power factor adjustment the rules do not call for, a rate above the tariff and a charge above the recomputed charge; then billed demand, a rate or a charge below the recomputed figures and missing intervals, with the fix for each and what would change the verdict. No intervals, rate, look-back history, power factor or billing period leave the charge unverified. This recomputes one demand charge: the bill’s other lines against the tariff and usage are wever_energy-bill-check, an invoice against its job is wever_invoice-check and fees charged against a stated schedule are wever_fee-reconciliation-check. Verdict energy_demand_overstated, energy_demand_partial, energy_demand_unverified or energy_demand_correct. POST /api/energy-demand-charge-check. Reads the energy records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; the records stay in the report, with no network request, fetch, message, payment or external write. Agent Energy reads an energy customer’s own records and recomputes what they claim: the rate plan billed against the plan quoted, a solar or PPA proposal’s production and savings against its stated assumptions, a supply contract against what was agreed, a charging session against the posted price, a carbon credit or certificate claim against its retirement records, a utility bill against its tariff and usage, a commercial demand charge against interval usage and the tariff’s demand rules, and an equipment efficiency or savings claim against its rating and baseline. Beside it, wever_invoice-check reads any invoice against the job it belongs to and wever_fee-evidence-check a fee schedule against a quote or invoice, while an energy check recomputes energy charges from rates, usage and the tariff’s own rules; wever_contract-diff-check compares two versions of one text, while the contract check reads the signed contract against what was agreed; and wever_environmental-evidence-check reads sustainability claims against offered evidence, while the carbon claim check reads the retirement records behind one claim. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-energy-contract. Human page: https://weverlabs.com/agent-energy/.
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": {
"bill": "<bill>"
},
"name": "wever_energy-demand-charge-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | ||
| label | No | Optional name recorded in the report. | |
| tariff | No | ||
| history | No | Earlier peaks, for a ratchet. | |
| intervals | No | ||
| power_factor | No | Measured, such as 0.93. | |
| tolerance_kw | No | 0.1 when left out. |