Skip to main content
Glama

Shieldbook – EU Cyber Resilience Act (CRA), SBOM

Check whether a product is in scope of the CRA

cra_scope_check
Read-onlyIdempotent

Checks whether the EU Cyber Resilience Act (CRA, Regulation (EU) 2024/2847) applies to a product, i.e. whether it is in scope, and its CRA product class: default, important class I or II (for example browsers, password managers, VPNs, operating systems, routers, smart home security devices, firewalls, hypervisors) or critical (for example smartcards, smart meter gateways). For software, mobile and desktop apps, firmware, IoT and other hardware, components, open-source projects and SaaS. Start with answers {}; each call returns the next question to ask the user, or, once all are answered, the result: in scope / outside scope / needs a closer reading, the provisional class and the cited articles (Art. 2, 3, 7, Annex III/IV). Does not cover other laws (NIS2, GDPR, AI Act); not a conformity assessment or legal advice.

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": {
      "answers": "<answers>"
    },
    "name": "cra_scope_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
answersYesAnswers so far about the product (software, app, firmware, hardware or IoT device): question id -> option id, from the questions returned earlier or listed by cra_scope_questions. Start with {} to get the first question.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / answers / description
      Previous value: -"Answers so far: question id -> option id, as listed by cra_scope_questions. Start with {} to get the first question."New value: +"Answers so far about the product (software, app, firmware, hardware or IoT device): question id -> option id, from the questions returned earlier or listed by cra_scope_questions. Start with {} to get the first question."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses the multi-turn interaction model, that state lives in the caller-supplied answers map, and exactly what a completed call yields (scope verdict, provisional class, cited articles). It stops short of describing failure modes, such as what happens with an invalid or stale answer id.

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?

One dense paragraph, front-loaded with the scope decision and product classes, then the call protocol, then the exclusions. The long parenthetical example lists are informative but make the sentence heavy; nothing is 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?

With no output schema, the description fully carries the return contract (next question vs. final verdict, provisional class, cited articles) and states the iterative call pattern needed to drive it. Scope boundaries against adjacent laws and legal-advice disclaimers are also 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 coverage is 100% and the single answers parameter is already documented as a question-id to option-id map, so the baseline is 3. The description adds the incremental-fill convention ('start with {}') but no syntax or validation detail beyond the schema.

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?

States a specific verb and resource ('Checks whether the EU Cyber Resilience Act ... applies to a product'), names the regulation, and enumerates the output classes (default, important class I/II, critical) with concrete examples. An agent can distinguish this from cra_scope_questions, which lists questions rather than evaluating answers.

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?

Gives an explicit invocation protocol ('Start with answers {}; each call returns the next question to ask the user, or, once all are answered, the result') and explicit exclusions ('Does not cover other laws (NIS2, GDPR, AI Act); not a conformity assessment or legal advice'). It does not name cra_scope_questions as the alternative for merely listing questions, so the sibling routing is left partly implicit.

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