Skip to main content
Glama

M2MCent x402 Universal MCP Gateway

anti-stuxnet-plc-mcp

[0.200 USDC] Industrial SCADA & PLC Invariant Verification Gate: Static and dynamic AST audit for industrial Modbus, DNP3, and Siemens S7 PLC telemetry. Detects out-of-bounds register writes, unauthorized ladder logic shifts, and zero-day command injection.

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": {
      "protocol": "<protocol>",
      "functionCode": "<functionCode>",
      "registerHexPayload": "<registerHexPayload>"
    },
    "name": "anti-stuxnet-plc-mcp"
  }
}

Input Schema

NameRequiredDescriptionDefault
protocolYesIndustrial protocol of the intercepted packet stream
functionCodeYesPLC function code (e.g. 5 = Force Single Coil, 16 = Preset Multiple Registers)
registerHexPayloadYesHexadecimal packet data to verify against industrial safety envelope
targetRegisterRangeNoStarting register address and count: [startAddr, quantity]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly doesn't: it never states what the verification returns (a verdict, a findings list, a score), whether it is deterministic, or what the safety envelope is derived from. It does list classes of issues it claims to detect (out-of-bounds writes, ladder logic shifts, command injection), which is some behavioral signal, but the core output contract is absent.

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 dense sentence that front-loads the price, which is useful, but spends words on branding ('anti-stuxnet', 'zero-day') rather than operational detail. Nothing is redundant, but the density is jargon-heavy and not information-efficient.

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 4-parameter verification tool with no output schema and no annotations, so the description should explain the returned result and how a caller should interpret a pass/fail. It does neither, and the 'ladder logic' claim is unsupported by any input that could carry logic. An agent could form a request but would not know how to read the response.

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 every parameter is already documented, and the description adds no format, constraint, or interpretation detail beyond it. It mentions three of the four protocol enum values (Modbus, DNP3, S7) and omits ethernet_ip, which is at best neutral and at worst slightly misleading.

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 a concrete verb (verify/audit) and resource (SCADA/PLC packet telemetry across Modbus, DNP3, S7) and frames a static/dynamic check against a safety envelope, so the general purpose is graspable. However, the framing is internally inconsistent: it advertises 'AST audit' and 'unauthorized ladder logic shifts' when the inputs are a raw hex register payload and function code, not source code. That muddies what the tool actually evaluates.

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 statement of when an agent should call this versus anything else, no prerequisites, and no exclusions. The name suggests a narrow anti-Stuxnet gate, but nothing in the description tells the caller which packet scenarios qualify or what the alternative would be.

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.