Skip to main content
Glama

Energy Price Forecast EU

Find the cheapest time window

find_cheapest_window
Read-onlyIdempotent

Finds the cheapest contiguous window of a given length (e.g. to charge an EV, run a dishwasher or heat pump) in the coming hours or before a deadline, together with the greenest (lowest CO2) window and a combined price/CO2 window. Also says how often this window pick hit the real cheapest window over the last 30 days.

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": {
      "zone": "<zone>"
    },
    "name": "find_cheapest_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneYesBidding zone code, e.g. DE, NL, DK1, SE3, NO2, ITN, GB. Call list_zones for all codes.
deadlineNoOptional ISO 8601 time the window must end by, e.g. 2026-12-02T07:00:00+01:00.
energy_kwhNoOptional energy to buy in kWh (e.g. 30 for an EV top-up). Adds the cost and saving in money.
within_hoursNoSearch the next N hours (1-120). Ignored when deadline is given.
duration_hoursNoLength of the window in hours (1-24).

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 declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real substance beyond that: it discloses that three separate windows are returned and that a 30-day backtested hit-rate accompanies the pick, which is exactly the kind of output-character context annotations cannot convey. No output schema exists, so this return-content disclosure carries extra weight, but format and units remain unspecified.

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 core purpose is front-loaded in the first clause, and the trailing clauses each add distinct information (extra return windows, hit-rate metric) rather than filler. The final clause about the 30-day hit rate is slightly awkwardly phrased as a sentence about the tool 'saying' something, but nothing is wasted.

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?

For a 5-parameter, single-required, read-only query with full schema coverage and no output schema, the description covers purpose, scenario, and the shape of the returned results well enough to invoke correctly. The remaining gap is that the returned windows' fields and time formatting are only gestured at, which slightly matters given the absence of an 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 coverage is 100% and the schema already documents zone codes, the deadline-vs-within_hours precedence ('Ignored when deadline is given'), ranges, and the kWh example. The description restates the goal-level meaning of window length and deadline but adds no syntax, default, or interaction detail beyond what the schema provides, so the baseline of 3 applies.

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: 'Finds the cheapest contiguous window of a given length', and immediately anchors it with concrete use cases (EV charging, dishwasher, heat pump). It also enumerates the full result set (cheapest, greenest, combined price/CO2, plus a 30-day hit-rate stat), which makes it clearly an optimization/aggregation tool rather than a raw forecast like get_price_forecast or get_co2_forecast.

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

Usage Guidelines4/5

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

Gives clear situational context: 'in the coming hours or before a deadline', and the appliance examples make the intended scenario unambiguous. It stops short of naming alternatives (e.g. when to prefer compare_charging_days or a raw forecast) or stating exclusions, so it is strong but not fully routing.

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.