Skip to main content
Glama
KevinRabun

io.github.KevinRabun/GDPRShiftLeftMCP

by KevinRabun

analyze_data_flow

Analyze code to map personal data flows—collection, storage, transmission, deletion—for GDPR Article 30 ROPA compliance.

Instructions

Analyze code for personal data flow patterns to support ROPA documentation.

Maps the data lifecycle:

  • Collection: Where PII enters the system

  • Storage: Where PII is persisted

  • Transmission: Where PII is sent externally

  • Deletion: Where PII is removed

Helps identify GDPR compliance touchpoints for Art. 30 ROPA.

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
Behavior2/5

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

No annotations are provided, so the description bears full responsibility. It describes what the tool analyzes (data flow patterns) but omits behavioral details such as whether it is read-only, permissions required, rate limits, or any side effects. The agent cannot infer safety or constraints.

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 relatively concise with clear bullet points and an 'Args:' section. One or two sentences could be trimmed without losing meaning, but it is well-structured and front-loaded with the main purpose.

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, the description does not need to explain return values. It covers the essential purpose and the lifecycle stages. However, it lacks details on prerequisites or analysis method, which would be helpful. Still, it is fairly complete for a straightforward analysis tool.

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 meaning by explaining 'code' as application code content, 'language' with examples, and 'file_path' as optional for reporting. However, it does not provide allowed values or constraints (e.g., supported languages), leaving some ambiguity.

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 'Analyze code for personal data flow patterns to support ROPA documentation' and details the mapping of data lifecycle stages (Collection, Storage, Transmission, Deletion). This distinguishes it from sibling tools like analyze_application_code or analyze_breach_readiness, which have different focuses.

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 the tool is for GDPR compliance touchpoints under Article 30 ROPA, but it does not explicitly state when to use it versus alternatives, nor does it provide exclusions or usage contexts. With many sibling tools, more guidance would help the agent select correctly.

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