Skip to main content
Glama
sovereign-verify-mcp

sovereign-verify-mcp

by pjrpjr

verify_machlog_1230_sbom

Read-onlyIdempotent

Verifies PLC safety exports against prior FAT/SAT baselines, checks EU Machinery Regulation Annex IV completeness, and triages SBOM/OpenVEX CVEs for CRA Annex VII compliance.

Instructions

EU Machinery Regulation (EU) 2023/1230 (2027-01-20 cliff) Article 18 substantial-modification PLC safety baseline diff (Siemens TIA, Beckhoff TwinSAFE, Pilz PNOZ, Rockwell L5X, CODESYS/ROS2), Annex IV completeness gate, and EU CRA 2024/2847 Annex VII CycloneDX/SPDX + OpenVEX CVE triage.

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>"
    },
    "name": "verify_machlog_1230_sbom"
  }
}

Input Schema

NameRequiredDescriptionDefault
sbomNoOptional CycloneDX 1.4-1.6 or SPDX 2.3 JSON SBOM.
exportsNoList of inline XML or JSON strings from official vendor PLC safety exports.
packageYesMachinery assessment manifest JSON (machine_or_line_sn, annex_iv_docs, annex_vii_cra_docs, optional change_authorization, ear_profile).
open_vexNoOptional OpenVEX v0.2.0 JSON document for High/Critical CVE mitigation justification.
enforce_craNoEnforce EU CRA 2024/2847 Annex VII & High/Critical CVE triage.
baseline_snapshotNoOptional prior FAT/SAT safety snapshot JSON for Article 18 drift comparison.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, closed-world, non-destructive operation, so the safety profile is covered. The description adds that it performs drift comparison against a prior FAT/SAT snapshot, gates on Annex IV completeness, and enforces CRA/CVE triage by default — useful behavioral framing. It does not say what happens when a gate fails, which inputs take precedence, or what the response contains.

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 sentence, so nothing is wasted in length, but it is a dense run-on of acronyms and standard numbers with no structure separating the three distinct capabilities (drift diff, Annex IV gate, CRA triage). Front-loading the regulation makes the purpose harder to scan than a plain-language lead would.

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

Completeness2/5

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

This is a complex multi-mode tool with six parameters, nested objects, and no output schema, so the description bears extra burden. It never explains the return shape (pass/fail per gate, findings list), how the three verification modes combine in one call, or the effect of omitting the optional sbom/exports/baseline_snapshot inputs — the gaps an agent would need to call it confidently.

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 six parameters are documented in the schema itself, making 3 the correct baseline. The description only loosely reinforces a few of them (CycloneDX/SPDX for sbom, OpenVEX for open_vex, baseline diff for baseline_snapshot) without adding format, priority, or interaction semantics beyond the schema.

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

Purpose3/5

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

The description names the regulatory regimes and artifacts it operates on (EU 2023/1230 Article 18 baseline diff, Annex IV completeness gate, CRA 2024/2847 Annex VII + OpenVEX CVE triage) and lists the vendor formats handled (TIA, TwinSAFE, PNOZ, L5X, CODESYS/ROS2). However, it never states the operative verb in plain language — the reader must infer 'verify' from the tool name and from words like 'diff', 'gate', and 'triage'. It also gives no signal distinguishing it from sibling verify_/audit_ tools.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites (e.g. that a package manifest is mandatory and SBOM/exports are optional inputs), and no statement of what the tool is not for. The only usage signal is implicit in the regulatory vocabulary, leaving the agent to guess whether this is the right tool versus audit_admt_hitl or verify_bess_dpp.

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