Skip to main content
Glama

German BNetzA SMARD & § 14a EnWG Grid Fee Preview Oracle

German § 14a EnWG Grid-Fee & SMARD Load-Shift Preview

calculate_enwg14a_grid_preview
Read-onlyIdempotent

Computes a non-binding German § 14a EnWG (Module 1 flat, Module 2 percentage, Module 3 time-variable) grid-fee reduction and Bundesnetzagentur SMARD day-ahead load-shift simulation by German postal code (PLZ) and controllable assets (EV wallbox, heat pump, PV/battery). Use this tool for residential or industrial electricity flexibility quotes in Germany instead of letting LLMs guess local DSO/VNB tariffs. Free, read-only, zero PII retention, no ads or affiliate links, returning a signed Ed25519 Verifiable Credential.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_enwg14a_grid_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetsNoControllable household/site energy assets qualifying under § 14a EnWG (> 4.2 kW).
load_kwNoOptional flexible electrical load in kilowatts (kW) for industrial dispatch simulation.
postal_codeNo5-digit German postal code (PLZ) for local distribution grid operator (VNB) resolution (e.g. '45127').
country_codeNoISO country code ('DE' for German VNB/§ 14a resolution; 'AT'/'NL' return DE-LU benchmark).DE
grid_module_14aNoSelected § 14a EnWG tariff module ('module_1_flat', 'module_2_percentage', or 'module_3_time_variable').module_3_time_variable
tso_control_areaNoGerman transmission system operator (ÜNB) control area or bidding zone ('DE-LU').DE-LU
ap2_intent_mandate_idNoOptional AP2 (Agent Payments Protocol) intent mandate reference ID for audit correlation.
annual_consumption_kwhNoEstimated total annual electricity consumption in kilowatt-hours (kWh, e.g. 6500).
controllable_device_enwg14aNoExplicit flag indicating whether a § 14a EnWG controllable consumption device (> 4.2 kW) is present.

Output Schema

NameRequiredDescriptionDefault
typeYesCredential types (including 'VerifiableCredential' and domain attestation type).
proofYesEd25519 cryptographic signature proof verifiable via /.well-known/did.json.
issuerYesCryptographic issuer DID ('did:web:iotpay.eu').
@contextNoW3C Verifiable Credentials context URIs.
issuanceDateYesISO-8601 UTC issuance timestamp.
credentialSubjectYesDeterministic verification verdict, structured findings, and SHA-256 payload hash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / properties / annual_consumption_kwh / description
      Previous value: -"Total annual electricity consumption in kWh."New value: +"Estimated total annual electricity consumption in kilowatt-hours (kWh, e.g. 6500)."
    • addedInput schema / properties / annual_consumption_kwh / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / ap2_intent_mandate_id / description
      Added value: +"Optional AP2 (Agent Payments Protocol) intent mandate reference ID for audit correlation."
    • addedInput schema / properties / assets / description
      Added value: +"Controllable household/site energy assets qualifying under § 14a EnWG (> 4.2 kW)."
    • addedInput schema / properties / assets / properties / ev_annual_km / description
      Added value: +"Annual EV driving distance in km for charging load estimation."
    • addedInput schema / properties / assets / properties / has_ev / description
      Added value: +"True if an EV wallbox (> 4.2 kW) is installed."
    • addedInput schema / properties / assets / properties / has_heat_pump / description
      Added value: +"True if an electric heat pump (> 4.2 kW) is installed."
    • addedInput schema / properties / assets / properties / has_pv_or_battery / description
      Added value: +"True if solar PV or battery storage (> 4.2 kW) is installed."
    • changedInput schema / properties / controllable_device_enwg14a / description
      Previous value: -"Controllable device (> 4.2 kW) per § 14a EnWG installed."New value: +"Explicit flag indicating whether a § 14a EnWG controllable consumption device (> 4.2 kW) is present."
    • addedInput schema / properties / country_code / description
      Added value: +"ISO country code ('DE' for German VNB/§ 14a resolution; 'AT'/'NL' return DE-LU benchmark)."
    • addedInput schema / properties / grid_module_14a / description
      Added value: +"Selected § 14a EnWG tariff module ('module_1_flat', 'module_2_percentage', or 'module_3_time_variable')."
    • changedInput schema / properties / load_kw / description
      Previous value: -"Flexible electrical load in kW for industrial dispatch mode."New value: +"Optional flexible electrical load in kilowatts (kW) for industrial dispatch simulation."
    • addedInput schema / properties / load_kw / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / postal_code / description
      Previous value: -"Postal code for local German VNB resolution (e.g. '45127')."New value: +"5-digit German postal code (PLZ) for local distribution grid operator (VNB) resolution (e.g. '45127')."
    • addedInput schema / properties / tso_control_area / description
      Added value: +"German transmission system operator (ÜNB) control area or bidding zone ('DE-LU')."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "W3C Verifiable Credential signed with Ed25519 (did:web:iotpay.eu) containing deterministic validation results and SHA-256 payload proof.",
      +  "properties": {
      +    "@context": {
      +      "description": "W3C Verifiable Credentials context URIs.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "credentialSubject": {
      +      "description": "Deterministic verification verdict, structured findings, and SHA-256 payload hash.",
      +      "type": "object"
      +    },
      +    "issuanceDate": {
      +      "description": "ISO-8601 UTC issuance timestamp.",
      +      "type": "string"
      +    },
      +    "issuer": {
      +      "description": "Cryptographic issuer DID ('did:web:iotpay.eu').",
      +      "type": "string"
      +    },
      +    "proof": {
      +      "description": "Ed25519 cryptographic signature proof verifiable via /.well-known/did.json.",
      +      "properties": {
      +        "proofPurpose": {
      +          "type": "string"
      +        },
      +        "signatureHex": {
      +          "type": "string"
      +        },
      +        "type": {
      +          "type": "string"
      +        },
      +        "verificationMethod": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": {
      +      "description": "Credential types (including 'VerifiableCredential' and domain attestation type).",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "type",
      +    "issuer",
      +    "issuanceDate",
      +    "credentialSubject",
      +    "proof"
      +  ],
      +  "type": "object"
      +}
  2. 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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context: results are explicitly 'non-binding' (an estimate rather than an authoritative tariff), the output is a signed Ed25519 Verifiable Credential, and no PII is retained. It restates 'read-only' redundantly, but the non-binding and credential-output disclosures are real value.

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?

Three sentences, purpose front-loaded, with the use-case guidance immediately after the scope statement. The trust-signal clause ('Free, read-only, zero PII retention, no ads or affiliate links') is somewhat marketing-flavored and partially duplicates the annotations, which keeps it from a 5, but every other sentence earns its place.

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 tool with 9 parameters, a nested asset object, full schema coverage, annotations, and an output schema, the description covers purpose, eligibility framing, data provenance (Bundesnetzagentur SMARD), and output artifact type. It could say more about what the 'preview' limitation means for accuracy or about latency/rate behavior, but nothing essential for correct invocation 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 description coverage is 100%, so the schema already documents every parameter, including the enum values for grid_module_14a and country_code. The description adds only modest meaning beyond that: it ties postal_code to VNB resolution and enumerates the qualifying asset types, but it does not explain how module choice changes the computation or what the AT/NL benchmark path produces. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description opens with a concrete verb ('Computes') plus a precisely scoped resource: a German § 14a EnWG grid-fee reduction and SMARD day-ahead load-shift simulation keyed to PLZ and controllable assets. It names the three tariff modules and the asset types, so an agent can tell this apart from the unrelated compliance siblings (PII redaction, sanctions, DORA, e-invoice, EUDAMED) without opening the schema.

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?

It gives an explicit when-to-use: 'residential or industrial electricity flexibility quotes in Germany,' and contrasts the tool against a bad alternative behavior ('letting LLMs guess local DSO/VNB tariffs'). It does not state when NOT to use it (e.g., non-German sites, or binding/legal tariff calculations), but the geographic and jurisdiction boundary is implied clearly by the PLZ and § 14a framing.

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.