Skip to main content
Glama

WattyEnergie

Besparing berekenen

calculate_energy_savings
Read-onlyIdempotent

Bereken hoeveel een huishouden bespaart door over te stappen: huidige jaarkosten, nieuwe jaarkosten, bruto en netto besparing (na opzegvergoeding) en de beste drie alternatieven met aanmeldlink. Ontbreken huidige tarieven, dan komt status "needs_input" met de vragen die nog nodig zijn.

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": {
      "gas_m3": "<gas_m3>"
    },
    "name": "calculate_energy_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
gas_m3YesJaarlijks gasverbruik in m³ (0 voor een woning zonder gas). Gemiddeld ca. 1.150 m³.
currentNoGegevens van het huidige contract
postcodeNoPostcode, bijv. 1234AB. Optioneel; geeft regionale netbeheerkosten.
gas_meterNoGasmeter: G4, G6, G10, G16 of G25. Optioneel; standaard G4/G6.
has_solarNoHeeft het huishouden zonnepanelen?
green_onlyNoAlleen groene stroom
meter_typeNoEnkele meter (single) of dubbele meter dag/nacht (double). Standaard single.
contract_typeNoVast (fixed), variabel (variable), dynamisch (dynamic) of alles (any, standaard)
contract_yearsNoGewenste looptijd van een vast contract in jaren (1, 2, 3 ...)
electricity_kwhNoJaarlijks stroomverbruik in kWh (totaal). Gemiddeld huishouden ca. 2.700 kWh.
solar_export_kwhNoJaarlijkse teruglevering aan het net in kWh
solar_production_kwhNoJaarlijkse opwek van de zonnepanelen in kWh
electricity_connectionNoAansluitwaarde stroom, bijv. 1x25A, 3x25A, 3x35A, 3x50A, 3x63A of 3x80A (staat op de hoofdschakelaar). Optioneel; standaard 3x25A. Groter dan 3x25A geeft flink hogere netbeheerkosten; vraag ernaar bij warmtepomp, laadpaal of hoog verbruik.
electricity_normal_kwhNoAlleen bij dubbele meter: verbruik normaaltarief in kWh
electricity_offpeak_kwhNoAlleen bij dubbele meter: verbruik daltarief in kWh

Output Schema

NameRequiredDescriptionDefault
noteNo
notesNo
statusYes
questionsNo
input_usedNo
assumptionsNo
best_offersNo
verificationYes
missing_fieldsNo
data_timestampsNo
cancellation_feeNo
current_supplierNo
grid_costs_basisNo
affiliate_disclosureNo
total_offers_comparedNo
cancellation_fee_knownNo
personal_comparison_urlYes
current_annual_cost_incl_vatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavior beyond that: it discloses the full result composition (gross vs. net savings after cancellation fee) and, importantly, the graceful degradation path ('needs_input' plus the questions still required) when current tariffs are absent. It stops short of noting cost or latency characteristics, but the degradation behavior is the main non-obvious trait.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what is computed, followed by the fallback condition. There is no filler, though the first sentence is a dense enumeration and could have been split for scannability; still appropriately sized for a calculation tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 15 parameters, a nested object and an output schema, the description covers the essentials: what is computed, what a result contains, and what happens when input is incomplete. It does not mention how optional inputs (postcode, gas_meter, electricity_connection, solar fields) influence the outcome, but those are documented in-schema and return values are covered by the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with Dutch field-level descriptions for all 15 parameters including the nested current-contract object, so the schema carries the parameter burden. The description only adds one semantic link, that net savings are calculated after the cancellation fee, which ties loosely to cancellation_fee but does not explain any other input's effect.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Bereken hoeveel een huishouden bespaart door over te stappen') and enumerates the concrete outputs: current annual cost, new annual cost, gross and net savings, and the top three alternatives with signup link. It does not name any sibling tool, even though compare_energy_contracts and get_cheapest_energy_deals clearly overlap on the 'alternatives' part, so the agent gets no explicit differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the outcome described (a switching-savings calculation) and there is one useful conditional: missing current tariffs lead to status 'needs_input' with the outstanding questions. However, nothing states when to prefer this over compare_energy_contracts or get_cheapest_energy_deals, and no prerequisites or exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.