Skip to main content
Glama
Industrial-AIops Energy

Industrial-AIops Energy

compliance_frameworks

Read-only

Cross-map 防护指南, 等保 2.0, IEC 62443, GxP, NIS2, and CRA requirements, or assess NIS2/CRA items with product evidence, gap, and organisational coverage status.

Instructions

[READ][risk=low] 跨框架对照: 防护指南 ↔ 等保 2.0 ↔ IEC 62443 ↔ GxP ↔ NIS2 ↔ CRA.

Omit ``framework`` for one row per governance pillar: the matching 《防护指南》
requirement, 等保 2.0 control class, IEC 62443 FR, GxP clause, the NIS2 / CRA item
refs that cite the pillar, and the iaiops status. Pass framework="nis2" (Directive
(EU) 2022/2555 Art. 21(2)(a)-(j)) or "cra" (Regulation (EU) 2024/2847 Annex I) for
that text item by item, each with an honest coverage: product_evidence (a cited,
code-anchored mechanism produces relevant evidence — never "the measure is met"),
gap, or organisational (product provides no evidence). NIS2 obliges entities, the
CRA manufacturers — a product self-assessment, NOT a certification.

Args:
    framework: None for the per-pillar crosswalk, or 'nis2' / 'cra'.

Returns dict: per-pillar {frameworks[], framework_count, pillar_count,
    crosswalk:[{pillar, gjzn, dengbao, iec62443, gxp, nis2, nis2_refs, cra,
    cra_refs, iaiops_status}], note} — or for nis2/cra {framework, applies, scope,
    item_count, coverage_summary, items:[{id, ref, measure, coverage, iaiops, gap,
    mechanisms, mechanism_detail, pillars}], disclaimer, source}.

Example: compliance_frameworks(framework="nis2").

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": "compliance_frameworks"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameworkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.13
    • addedInput schema / properties / framework
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Framework"
      +}
  2. First observedv0.1.9

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover the read-only/low-risk profile, yet the description adds substantial semantics beyond them: the coverage taxonomy (product_evidence / gap / organisational), the explicit caution that product_evidence never means 'the measure is met', the distinction that NIS2 obliges entities while CRA binds manufacturers, and the framing as a self-assessment, NOT a certification. This is exactly the extra context an agent needs to interpret results honestly.

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?

Front-loads the READ/risk marker and the purpose, then structures args and returns in labeled blocks. It is on the long side and the Returns enumeration is dense, but since no output schema exists the return-shape detail earns its place rather than being redundant.

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?

For a complex compliance tool with no output schema, the description supplies the mode semantics, the per-pillar and per-item return shapes, the coverage classification, and a disclaimer pointer — everything needed to call and interpret it correctly.

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

Parameters5/5

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

Schema description coverage is 0% and the single `framework` parameter carries no enum, so the description must carry the full burden — and it does: None yields the per-pillar crosswalk, 'nis2' maps to Directive (EU) 2022/2555 Art. 21(2)(a)-(j), 'cra' to Regulation (EU) 2024/2847 Annex I. Nothing about the accepted values is left ambiguous.

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 states a specific verb and resource — a cross-framework crosswalk mapping 《防护指南》 ↔ 等保 2.0 ↔ IEC 62443 ↔ GxP ↔ NIS2 ↔ CRA. An agent immediately understands this compares compliance requirements across regimes, but it never names or contrasts sibling tools (compliance_mapping, compliance_report, compliance_dengbao_levels), so disambiguation relies on inference.

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?

Clear conditional guidance: omit `framework` for one row per governance pillar, or pass 'nis2'/'cra' for that regulation item-by-item with the exact directive references. It tells the agent how the two operating modes differ, but gives no explicit when-to-use-vs-alternatives routing against the compliance_* siblings.

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

Deploy Server

Other Tools