# Response Template Compliance AI Agent Connect

> Response Template Compliance MCP automates quality assurance for your communications. It checks messages against specific structural, linguistic, and content rules to ensure they follow your required templates. Your AI client uses this to catch prohibited phrases, verify correct message ordering, and generate final compliance reports.

## Overview
- **Category:** communication
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_vCULDhhCnBVTV13KPyUMNgZfoz2xGZBiuyCCzuUB/ai-agent-connect
- **Tags:** compliance, validation, text-analysis, qa, messaging

## Description

You can stop manually auditing each outgoing message. This MCP acts as an automated QA layer for your communication workflows. It compares your drafted messages against strict templates to ensure they meet your specific requirements. 

Your agent can use this to verify that required phrases are present and that prohibited language is stripped out. It doesn't look at words; it checks the actual structure and sequence of your messages to make sure they follow the correct channel formatting. If you need a definitive answer on whether a message is ready to send, the MCP can aggregate all individual checks into a single pass, partial, or fail report. It's a direct way to enforce brand voice and regulatory compliance without a human having to read each line of text.

## Tools

### check_template_integrity
This tool verifies that your provided response template is valid and well-formed before you use it.

### validate_message_content
This tool compares a specific message against your lists of required and prohibited phrases.

### calculate_final_compliance
This tool aggregates all individual checks into a single, unified compliance report.

### verify_structure_and_ordering
This tool checks if a message follows the prescribed sequence of elements and adheres to specific channel formatting.

## Prompt Examples

**Prompt:** 
```
Check if this message is compliant: 'Hello Customer, your order is ready. Thank you for choosing us!' with required phrase 'order is ready'.
```

**Response:** 
```
The message is compliant because it contains the required phrase 'order is ready'.
```

**Prompt:** 
```
Validate a message that contains a prohibited word: 'Get a huge Discount now!' where 'Discount' is prohibited.
```

**Response:** 
```
The message fails compliance because the prohibited phrase 'Discount' was detected.
```

**Prompt:** 
```
Verify the structure of a message with sequence: greeting, body, closing.
```

**Response:** 
```
The message follows the prescribed sequence of greeting, body, and closing correctly.
```

## Capabilities

### Phrase Validation
Your agent checks messages for mandatory language and forbidden terms.

### Structural Auditing
The MCP verifies that elements appear in the correct order.

### Template Verification
Your client ensures the response templates themselves are correctly formatted.

### Compliance Reporting
The tool generates pass, partial, or fail statuses based on all checks.

### Channel Formatting
Your agent confirms messages adhere to specific channel-based rules.

## Use Cases

### Customer Support QA
An agent checks if support replies match the approved company tone and required information.

### Marketing Compliance
The tool flags promotional messages that use prohibited words like 'discount' or 'free'.

### Automated Messaging
Your agent verifies that automated notifications follow the correct greeting and closing order.

### Template Management
You use the tool to ensure your response templates remain valid and well-formed.

## Benefits

- Automates the detection of prohibited or missing phrases.
- Enforces correct message sequencing and channel formatting.
- Generates instant pass or fail reports for each message checked.
- Reduces manual oversight needed for template adherence.

## How It Works

Connecting this MCP to your client allows for instant, automated message auditing.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your response templates to your agent.
3. Your agent runs the message through content and structural checks.
4. The MCP generates a final compliance report with a status.

## Frequently Asked Questions

**What does this MCP actually check?**
It checks message content for required and prohibited phrases, verifies the order of elements, and ensures channel-specific formatting is followed.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client including Claude, Cursor, and Windsurf.

**How does it report compliance results?**
The tool aggregates all checks into a report that provides a pass, partial, or fail status.

**Does it check the templates themselves?**
Yes, it includes a tool to verify if a response template is valid and well-formed.

**Do I need to host this myself?**
No, Vinkius hosts and manages the MCP so it is ready to use immediately upon connection.

**What does a 'Fail' status mean?**
A 'Fail' status is triggered if any prohibited phrases are detected or if mandatory required phrases are missing from the message.

**How is the compliance percentage calculated?**
The percentage is a quantitative score representing the ratio of satisfied rules to the total number of rules defined in the template.

**Can I check SMS formatting?**
Yes, by using `verify_structure_and_ordering`, you can validate channel-specific formatting such as SMS character limits.
