Skip to main content
Glama

WattyEnergie

Thuisbatterij doorrekenen

calculate_home_battery
Read-onlyIdempotent

Bereken wat een thuisbatterij bespaart bij jouw verbruik, opwek en contract (2026 met salderen, vanaf 2027 zonder), de terugverdientijd bij een opgegeven prijs, of tot welke prijs hij zich terugverdient. Met alle aannames en bronnen.

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": {
      "electricity_usage_kwh": "<electricity_usage_kwh>",
      "solar_production_kwh": "<solar_production_kwh>",
      "battery_capacity_kwh": "<battery_capacity_kwh>"
    },
    "name": "calculate_home_battery"
  }
}

Input Schema

NameRequiredDescriptionDefault
feed_in_kwhNoTeruglevering per jaar in kWh (jaarnota). Leeg = aanname 30% direct eigen verbruik (Milieu Centraal).
contract_typeNoContractvorm (standaard vast). Bij dynamisch wordt handelen op uurprijzen niet meegerekend.
lifetime_yearsNoLevensduur in jaren (standaard 10, aanname)
battery_price_eurNoPrijs incl. installatie uit een offerte. Leeg = geen terugverdientijd, wel de maximale prijs om binnen de levensduur terug te verdienen. Verzin geen prijs.
battery_capacity_kwhYesBruikbare capaciteit van de batterij in kWh
solar_production_kwhYesOpwek van de zonnepanelen per jaar in kWh
electricity_usage_kwhYesTotaal stroomverbruik per jaar in kWh, inclusief direct gebruikte zonnestroom
feed_in_costs_per_kwhNoTerugleverkosten per kWh (standaard 0)
electricity_price_per_kwhNoStroomtarief incl. energiebelasting en btw. Leeg = CBS-gemiddelde.
feed_in_compensation_per_kwhNoTerugleververgoeding per kWh. Leeg = wettelijk minimum.

Output Schema

NameRequiredDescriptionDefault
answerYes
verdictYes
page_urlYes
warningsYes
assumptionsYes
compare_urlYes
inputs_usedYes
is_estimateYes
calculated_atYes
payback_yearsYes
annual_savings_2026Yes
annual_savings_from_2027Yes
max_price_for_payback_eurYes
battery_stores_kwh_per_yearYes
battery_supplies_kwh_per_yearYes
self_consumption_with_battery_pctYes
self_consumption_without_battery_pctYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, so the bar is lower. The description adds real behavioral context beyond them: results are regime-dependent (2026 with salderen, from 2027 without) and the output includes all assumptions and sources, which tells the agent the answer is auditable rather than a bare number.

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?

One front-loaded sentence that leads with the core action and then enumerates the three output modes efficiently. It is dense and slightly run-on, but no sentence is padding.

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

Completeness5/5

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

An output schema exists, so return structure need not be described; the description covers all three calculation modes, the regulatory time split, and the assumption/source disclosure. Combined with a fully documented 10-parameter schema and safety annotations, an agent has enough to select and call this correctly.

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

Parameters5/5

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

Schema coverage is 100% and the schema itself carries rich per-parameter semantics (defaults, ranges, 'Verzin geen prijs'). The description still adds meaning by naming the driving inputs (verbruik, opwek, contract) and the optional-price branch that changes what is returned, which reinforces rather than repeats the schema.

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?

States a specific verb (Bereken) and resource (what a home battery saves / payback time / break-even price), and even enumerates the three calculation modes. An agent can tell this is a battery business-case calculator. It does not name or contrast with the sibling calculate_energy_savings, so a small ambiguity remains.

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?

The description implies the usage context ('bij jouw verbruik, opwek en contract') and the scenarios it covers, but gives no explicit when-to-use vs. when-not guidance and never points to a sibling for adjacent questions like solar-only impact or contract comparison.

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.