Skip to main content
Glama

LexGrid DORA & NIS2 ICT Resilience

NIS2 Entity Criticality & Scope Classifier

nis2_criticality_classifier
Read-onlyIdempotent

[Deterministic entity classification. Pure calculation, read-only, side-effect free]. Classifies corporate entities into 'Essential Entity' vs 'Important Entity' under Directive (EU) 2022/2555 (NIS2) based on sector, headcount FTE, and financial turnover/balance sheet thresholds, computing supervisory regime and statutory fine exposure (up to 10M€ or 2% of global turnover). Usage: Use this tool to determine corporate NIS2 scope and governance duties. For penetration testing scope under DORA, use 'tlpt_threat_led_pentest_scope'. Returns: JSON object with { entityCategory: 'ESSENTIAL' | 'IMPORTANT' | 'OUT_OF_SCOPE', supervisoryRegime: string, maxStatutoryFineEur: number, statutoryObligations: string[] }.

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": {
      "companyName": "<companyName>",
      "sector": "<sector>",
      "totalEmployeesFte": "<totalEmployeesFte>",
      "annualTurnoverEur": "<annualTurnoverEur>"
    },
    "name": "nis2_criticality_classifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectorYesPrimary statutory sector of activity under NIS2 Annex I and II
companyNameYesCompany or organization legal name
annualTurnoverEurYesAnnual turnover in EUR (e.g. 50000000)
totalEmployeesFteYesFull-time equivalent employee headcount (e.g. 250)
balanceSheetTotalEurNoAnnual balance sheet total in EUR
isSoleNationalProviderOrDnsTldNoWhether company is a critical DNS/TLD registry or sole national provider

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / annualTurnoverEur / description
      Previous value: -"Annual turnover in EUR"New value: +"Annual turnover in EUR (e.g. 50000000)"
    • changedInput schema / properties / balanceSheetTotalEur / description
      Previous value: -"Balance sheet total in EUR"New value: +"Annual balance sheet total in EUR"
    • changedInput schema / properties / companyName / description
      Previous value: -"Company or organization name"New value: +"Company or organization legal name"
    • changedInput schema / properties / isSoleNationalProviderOrDnsTld / description
      Previous value: -"Whether company is a critical DNS/TLD or sole national provider"New value: +"Whether company is a critical DNS/TLD registry or sole national provider"
    • addedInput schema / properties / sector / description
      Added value: +"Primary statutory sector of activity under NIS2 Annex I and II"
    • changedInput schema / properties / totalEmployeesFte / description
      Previous value: -"Full-time equivalent employees"New value: +"Full-time equivalent employee headcount (e.g. 250)"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description reinforces this with 'deterministic', 'pure calculation, side-effect free'. Beyond that it discloses substantive behavior the annotations cannot: what legal thresholds drive the result and that statutory fine exposure is computed (up to 10M€ or 2% of global turnover). It does not discuss permissions, rate limits, or handling of missing optional inputs, so it stops short of a 5.

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?

Purpose is front-loaded, and the Usage/Returns structure is easy to scan with no wasted sentences. The bracketed preamble ('Deterministic entity classification. Pure calculation, read-only, side-effect free') largely restates the annotations and is the one mildly redundant element.

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?

Although no output schema exists, the description supplies the return object shape (entityCategory, supervisoryRegime, maxStatutoryFineEur, statutoryObligations), which is what an agent needs to consume the result. For a six-parameter deterministic classifier, the inputs, method, usage and output are all covered.

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 all six parameters including the enum values. The description adds the conceptual rule that classification depends on sector, headcount FTE and turnover/balance sheet thresholds, but says nothing about the two optional parameters (balanceSheetTotalEur, isSoleNationalProviderOrDnsTld) or how they alter the outcome, so baseline 3 applies.

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 names a specific verb and resource ('Classifies corporate entities') and states the exact output taxonomy ('Essential Entity' vs 'Important Entity' under Directive (EU) 2022/2555), plus the legal basis and threshold inputs. It is clearly distinguishable from the DORA pentest sibling it names.

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?

An explicit 'Usage:' sentence states the decision this tool supports ('determine corporate NIS2 scope and governance duties') and routes an adjacent question to 'tlpt_threat_led_pentest_scope'. There is no explicit when-not-to-use for NIS2 classification itself, but the boundary with the named alternative is clear.

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.

Resources