Skip to main content
Glama
CSOAI-ORG

CRA Compliance MCP

sign_cra_attestation

Generate a cryptographically signed CRA compliance attestation with HMAC-SHA256, public verification URL, and optional PDF for auditor validation without backend access.

Instructions

Generate a cryptographically signed CRA (Cyber Resilience Act) compliance attestation (Pro/Enterprise).

Uses the shared MEOK attestation module — HMAC-SHA256 signed JSON + public verify URL

  • optional board-ready PDF. Auditors validate via verify_url without backend access. Expires 365 days from issue.

  • findings_csv: comma-separated findings (e.g. "Annex I.1 cybersecurity-by-design PASS,Annex I.2 vulnerability handling GAP")

  • requirements_audited_csv: comma-separated Annex I requirement IDs (e.g. "1,2,3")

  • include_pdf_base64: True to receive PDF as base64

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_nameYes
overall_scoreYes
findings_csvNo
requirements_audited_csvNo
include_pdf_base64No
api_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the cryptographic method (HMAC-SHA256), the output (signed JSON + verify URL + optional PDF), and expiration (365 days). It does not mention error handling or required permissions, but overall provides adequate transparency.

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?

The description is concise, with a lead sentence summarizing purpose and bullet points for parameters. It is front-loaded and efficient, though the bullet format is acceptable.

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

Completeness3/5

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

The description covers the output format and key parameter details but misses explanations for two required parameters and api_key. With an output schema existing, the missing parameter info reduces completeness.

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

Parameters2/5

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

The description explains three parameters (findings_csv, requirements_audited_csv, include_pdf_base64) but leaves entity_name, overall_score, and api_key undocumented. Given 0% schema coverage, this is a significant gap.

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 clearly states it generates a signed CRA compliance attestation, specifying the verb 'generate' and the resource. This distinguishes it from sibling tools like audit_annex_i or classify_product, which have different functions.

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?

The description provides context on when to use the tool (for generating signed attestations) and explains the output format and expiration. However, it lacks explicit guidance on when not to use it or alternatives among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CSOAI-ORG/cra-compliance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server