Skip to main content
Glama
vtest-mcp

vtest-mcp

Compare Flemish energy contracts (V-test)

compare_energy_contracts
Read-onlyIdempotent

Compare electricity and gas contracts in Flanders with official V-test data and yearly usage to rank options by yearly price for a postcode.

Instructions

Find the cheapest electricity and gas contracts for a home in Flanders (Belgium) using the official V-test of the Flemish energy regulator (VREG, vtest.be).

Before calling, gather yearly usage for the last 12 months from the user's energy tools (Home Assistant energy dashboard, Homey, a P1 meter app such as HomeWizard, or Fluvius data):

  • electricity.day_kwh / night_kwh: energy taken from the grid. On a P1 meter, tariff 1 is day and tariff 2 is night. Single-rate meter: put everything in day_kwh.

  • electricity.injection_day_kwh / injection_night_kwh: energy returned to the grid (solar panels).

  • electricity.capacity_peak_kw: average of the monthly peaks over 12 months (capacity tariff), if available.

  • gas.amount: yearly gas usage, in kWh (or m3 with unit "m3"). If you only have a shorter period, scale it to a year and tell the user. Ask the user for their postcode if you don't know it.

Returns contracts sorted from cheapest to most expensive yearly price, incl. VAT, ranked like the V-test on the regular price; yearlyPriceWithDiscountEur shows the first-year price with welcome discounts when there is one. Homes that inject also get "injection": feed-in contracts where a negative price is what the user earns; suppliers often require their electricity and feed-in contract together, so compare totals per supplier. Brussels and Wallonia are not covered.

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": {
      "postal_code": "<postal_code>"
    },
    "name": "compare_energy_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
gasNoOmit to compare electricity only.
limitNoMaximum contracts to return per energy type.
filtersNo
electricityNoOmit to compare gas only.
postal_codeYesBelgian postcode of the delivery address. Flanders only.
municipalityNoMunicipality name. Only needed when the postcode covers several municipalities.

Output Schema

NameRequiredDescriptionDefault
gasNo
noteYes
sourceYes
locationYes
injectionNo
electricityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so safety is covered. The description adds real value beyond them: ranking follows the V-test regular price, VAT is included, yearlyPriceWithDiscountEur reflects first-year welcome discounts, and injection prices are negative because the user earns them, with a caveat that suppliers often bundle electricity and feed-in contracts.

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?

The purpose sentence is front-loaded and the bullet list is scannable, with return semantics in a closing sentence. Some length is spent re-enumerating parameters the schema already describes, which is mild redundancy rather than noise.

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?

A nested six-parameter tool with an output schema and rich annotations is fully supported: the description covers prerequisites, data-source alternatives, unit and meter-type handling, result ordering, and regional limits. Nothing an agent needs in order to invoke it correctly is missing.

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 coverage is 83%, so the schema already documents each field, including the P1 tariff 1/tariff 2 mapping and the capacity-peak definition. Most parameter text in the description restates the schema; the only added nuance is 'single-rate meter: put everything in day_kwh' and the scale-to-a-year instruction, which is thin extra value.

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

Purpose5/5

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

States a specific verb and resource ('Find the cheapest electricity and gas contracts for a home in Flanders') and pins down the data source (official V-test of VREG, vtest.be). The geographic scope is explicit, so an agent knows exactly what the tool answers.

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

Usage Guidelines5/5

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

Gives explicit pre-call instructions: gather 12 months of usage from named sources (Home Assistant, Homey, P1 meter apps, Fluvius), scale shorter periods and tell the user, and ask for the postcode if unknown. It also states the exclusion boundary — Brussels and Wallonia are not covered.

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

Deploy Server

Other Tools