Skip to main content
Glama
sovereign-verify-mcp

sovereign-verify-mcp

by pjrpjr

verify_bess_dpp

Read-onlyIdempotent

Cross-verify BESS external revenue meter data against OEM BMS SOH exports to detect tampering, and check 70-field JSON-LD Digital Battery Passport Day-1 completeness for EU Art. 77.

Instructions

EU Battery Regulation (EU) 2023/1542 Art. 77 (2027-02-18 cliff) BESS SAT external revenue meter vs OEM BMS SOH anti-tamper cross-verifier (exact Decimal trapezoidal integration across 6 OEM CSV templates) and 70-field JSON-LD Digital Battery Passport Day-1 completeness gate.

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": {
      "package": "<package>",
      "meter_csv": "<meter_csv>",
      "bms_csv": "<bms_csv>"
    },
    "name": "verify_bess_dpp"
  }
}

Input Schema

NameRequiredDescriptionDefault
bms_csvYesOEM EMS/BMS SAT CSV export matching package.oem_template.
packageYesBESS SAT manifest JSON (site_id, rack_sn, oem_template, sat_date_utc, nameplate_kwh, external_meter, thresholds, dpp_fields).
meter_csvYesCalibrated external revenue-grade meter CSV time-series.
include_jsonldNoEmbed full 70-field JSON-LD document in output (SHA-256 and missing fields are always returned).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds substantive behavior beyond that: exact Decimal (not floating-point) trapezoidal integration, support for exactly 6 OEM CSV templates, and that DPP output is a 70-field JSON-LD document. It does not disclose what a failure result looks like, where thresholds are sourced, or how mismatches are reported, which matters for a verification tool.

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

Conciseness3/5

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

It is a single compact sentence with no filler, so nothing is wasted. But cramming a regulation citation, an integration method, a template count and a field-count gate into one clause makes it hard to parse, and the actual purpose verbs appear late rather than front-loaded.

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

Completeness3/5

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

For a three-required-parameter tool with a nested manifest and no output schema, the description covers both functional halves (meter-vs-BMS cross-verification and DPP completeness) and the regulatory trigger. It still leaves the agent without any sense of the response shape, pass/fail semantics, or how threshold breaches are surfaced, which output schema absence makes more costly.

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 all four parameters are already documented in the schema, including the nested package manifest fields and the include_jsonld default. The description adds only the correlation that bms_csv must match one of '6 OEM CSV templates' referenced in package.oem_template, and that the DPP gate is 70 fields wide — marginal enrichment over the schema baseline of 3.

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?

The description names a concrete resource ('BESS SAT external revenue meter vs OEM BMS SOH') and two specific operations: an anti-tamper cross-verifier using Decimal trapezoidal integration, and a 70-field JSON-LD Digital Battery Passport completeness gate. It is clearly distinguishable from all listed siblings (45z mass balance, SBOM, HIPAA, etc.). The dense domain jargon and the late placement of the operative verbs ('cross-verifier', 'completeness gate') keep it from a 5.

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?

Usage is implied by the citation of EU 2023/1542 Art. 77 and the 2027-02-18 compliance cliff, which tells an agent this is for BESS SAT regulatory verification. However, there is no explicit when-to-use/when-not-to-use statement, no prerequisites (e.g. that a SAT manifest must be prepared first), and no routing to any alternative.

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