Skip to main content
Glama
SonnyLabs

EU AI Act Compliance MCP Server

by SonnyLabs

check_sensitive_file_access

Analyzes AI agent file access to detect sensitive files and prevent unauthorized access, ensuring EU AI Act security and data governance compliance.

Instructions

Checks if AI agent is attempting to access sensitive files using SonnyLabs.ai API.

Helps comply with EU AI Act Article 15 (Security) and Article 10 (Data governance). Prevents unauthorized access to confidential files and system resources.

Args: file_path: The file path being accessed by the AI agent agent_action: The action being performed (e.g., "read", "write", "execute") sonnylabs_api_token: Your SonnyLabs API token (Bearer token) sonnylabs_analysis_id: Your SonnyLabs analysis ID tag: Optional identifier for this check (default: "file_access_check")

Returns: Dictionary with file sensitivity analysis and access recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNofile_access_check
file_pathYes
agent_actionYes
sonnylabs_api_tokenYes
sonnylabs_analysis_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It does not state whether the tool is read-only, whether it makes external network calls (despite mentioning the SonnyLabs API), what side effects could occur, or any prerequisites like token expiration. The description says 'Checks' and 'Prevents' but provides no operational details beyond parameter explanations.

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 well-structured with a clear purpose, compliance rationale, and an Args/Returns breakdown. It is not overly verbose, and each section adds value. The compliance sentences are somewhat extra but contribute to purpose clarity, keeping it from being purely minimal.

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 core function, all parameters, and the return type, and an output schema is present. However, it lacks guidance on alternatives, prerequisite checks, or what to do with the returned analysis. For a compliance-related tool, more detail on how to interpret results would be helpful, making it minimally complete but not fully.

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

Parameters4/5

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

The description compensates for the 0% schema coverage by explaining each parameter in the Args block. For example, it clarifies file_path as 'the file path being accessed by the AI agent' and agent_action with examples ('read', 'write', 'execute'). This adds meaningful context beyond the bare schema, but could be more detailed about formats or constraints.

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 the tool's function: 'Checks if AI agent is attempting to access sensitive files using SonnyLabs.ai API.' It identifies a specific verb (checks) and resource (sensitive file access), and this purpose is distinct from sibling tools that handle labeling, watermarking, or risk classification.

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 clear context for when to use the tool by referencing EU AI Act compliance and preventing unauthorized access. However, it does not explicitly mention when not to use it or name alternative tools, so it stops short of a 5.

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/SonnyLabs/EU_AI_ACT_MCP'

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