Skip to main content
Glama
Energy MCP Belgium

Energy MCP Belgium

calculate_energy

Read-onlyIdempotent

Calculate solar, wind, or Belgian total-load energy in MWh for an offset-aware interval up to 24h by fetching and summing quarter-hour MW values; coverage is reported without gap filling.

Instructions

Calculate solar/wind generation energy or total-load energy in MWh by fetching its own power source and summing MW times 0.25h. Use for energy, rather than power in MW. Offset-aware start/end, max 24h; coverage reported, no gap filling. No raw-record input.

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": {
      "series": "<series>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "calculate_energy"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesExclusive interval end, ISO 8601 with Z or an explicit offset. UTC quarter-hour aligned, after start and no more than 24 elapsed hours later. Split longer ranges, including 25-hour Belgian DST days.
startYesInclusive interval start, ISO 8601 with Z or an explicit offset (for example 2026-11-17T10:00:00Z). Must align to a UTC quarter-hour; start < end; maximum 24 elapsed hours.
seriesYesSource to fetch and integrate: solar PV generation, wind generation or Belgian total load. Fetches data itself; do not resend records. Not suitable for instantaneous imbalance or prices.
wind_typeNototal (default): Belgian onshore plus offshore; onshore: four regional/grid components; offshore: federal offshore component. Applies only to wind; leave total for other series. Incomplete component sets yield null, not partial totals.total

Output Schema

NameRequiredDescriptionDefault
methodNoSum non-null interval-average MW times fixed interval hours; no gap filling.
qualityYes
metadataYes
energy_mwhYesObserved energy in MWh over available intervals; null if no usable power values. No gap filling or full-period estimate.
covered_hoursYesElapsed hours with usable quarter-hour power measurements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 the bar is lower. The description still adds substantive policy the annotations cannot convey: coverage is reported rather than gap-filled, the window is capped at 24h, timestamps are offset-aware, and it self-fetches source data instead of accepting records.

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

Conciseness5/5

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

Three compact sentences, front-loaded with the verb and unit of output, then the routing rule, then the operational constraints. No filler, and every clause carries distinct information.

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 values need not be explained, and all four parameters are fully described in the schema. Combined with the description's coverage of method, window limit, DST/offset handling and gap policy, an agent has everything needed to invoke it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns more by explaining the computation (MW x 0.25h), the offset-aware interval semantics, and that no raw records should be passed. It reinforces rather than replaces the schema's own per-parameter detail.

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 (Calculate) and resource (energy in MWh) plus the method ('fetching its own power source and summing MW times 0.25h'). The clause 'Use for energy, rather than power in MW' draws a bright line between this tool and the sibling power-fetching tools, so an agent can pick correctly without opening schemas.

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 selection guidance (energy vs power in MW) and an explicit exclusion ('No raw-record input') plus a hard operational limit (max 24h, split longer ranges). It does not name a specific sibling alternative, so it stops short of full when/when-not/alternative routing, but the discriminating condition is unambiguous.

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