Skip to main content
Glama
OjasKord

Data Compliance Classifier MCP

by OjasKord

get_safety_report

Retrieve a detailed compliance report and remediation strategy for flagged payloads, including regulation triggered, problematic fields, and compliant reformulation to prevent unremediated violations.

Instructions

Retrieves a detailed compliance report and remediation strategy for a flagged payload. Call this BEFORE your agent decides whether to proceed, redact, or halt -- immediately after validate_data_safety returns REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE. Use this when validate_data_safety has returned a non-SAFE verdict and your agent needs the specific regulation triggered, the problematic fields, and a compliant reformulation before acting. Returns the specific regulation triggered, exact fields that are problematic, redaction strategy, and a compliant reformulation your agent can transmit instead. Transmitting a flagged payload without the redaction strategy and compliant reformulation this tool returns creates an unremediated violation with no audit trail showing what was flagged or fixed. Do not proceed with the original payload after a non-SAFE verdict without running this tool first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesREPORT: get redaction strategy and compliant reformulation for a flagged payload. BATCH: classify up to 50 payloads. AUDIT: generate compliance summary report.
contextNoWhat will be done with this data. Used to improve verdict accuracy.
payloadNoThe flagged payload to analyse. Required for REPORT mode.
payloadsNoArray of data payloads to classify. Required for BATCH mode. Maximum 50.
jurisdictionNoJurisdiction override for REPORT mode (e.g. "EU", "US", "UK"). Optional.
dataset_descriptionNoDescription of the dataset for AUDIT mode (e.g. "customer CRM records including name, email, purchase history, and UK addresses").

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
statusNoPresent on the free-tier REPORT preview path
messageNo
checked_atYes
_disclaimerYes
upgrade_urlNo
patterns_detectedNo
Behavior5/5

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

No annotations provided, so description carries full burden. It explains what the tool returns (regulation triggered, problematic fields, redaction strategy, compliant reformulation) and the consequences of not using it (unremediated violation, no audit trail).

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?

Several sentences but each adds value. Front-loaded with purpose, then usage guidelines, then outcomes. Could be slightly more concise, but no superfluous content.

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?

Given 6 params (1 required), 100% schema coverage, and output schema exists, description fully covers when to use, what it returns, and consequences. No missing guidance.

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?

Schema coverage is 100%, baseline 3. Description adds value by explaining workflow linking modes (REPORT, BATCH, AUDIT) to prior tool usage, though schema already documents enums. Extra context like 'immediately after validate_data_safety' goes beyond 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?

The description clearly states the tool retrieves a 'detailed compliance report and remediation strategy' for a 'flagged payload'. It uses a specific verb ('Retrieves') and resource, and distinguishes from siblings by positioning it after 'validate_data_safety' returns non-SAFE verdicts.

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

Usage Guidelines5/5

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

Explicitly states when to call: after 'validate_data_safety' returns 'REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE'. Warns against proceeding without it, providing clear context for use.

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/OjasKord/data-compliance-mcp'

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