Skip to main content
Glama
KevinRabun

io.github.KevinRabun/GDPRShiftLeftMCP

by KevinRabun

analyze_cross_border_transfers

Analyze application code for cross-border data transfers under GDPR. Detect calls to non-EU services and receive guidance on SCCs and DPAs.

Instructions

Analyze code for potential cross-border data transfers under GDPR Chapter V.

Detects:

  • Third-party API calls to non-EU services (OpenAI, Stripe, Twilio, etc.)

  • SDK imports for US-based services

  • Webhook/integration patterns that may involve data export

Provides guidance on SCCs, DPAs, and Transfer Impact Assessments.

Args: code: The application code content language: Programming language ('python', 'typescript', 'csharp', etc.) file_path: Optional file path for reporting

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
languageYes
file_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided; the description discloses it analyzes code and provides guidance but does not clarify behavioral traits such as whether it modifies data, requires authentication, or has side effects.

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?

Well-structured with a purpose sentence, bulleted detections, and parameter list; concise but could be slightly more front-loaded.

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

Completeness4/5

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

Given the presence of an output schema and 3 parameters, the description covers purpose, detections, and guidance, though it omits mention of output format or potential limitations.

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?

With 0% schema description coverage, the description adds parameter descriptions (code, language, file_path) but they are brief and lack specifics like accepted language values or code format.

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 analyzes code for GDPR Chapter V cross-border transfers, lists specific detections, and distinguishes from sibling tools like analyze_data_flow by focusing on cross-border aspects.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when analyzing code for cross-border transfers but lacks explicit guidance on when to use versus alternatives like analyze_data_flow or assess_controller_processor_role.

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/KevinRabun/GDPRShiftLeftMCP'

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