- ENCODED
- SAVED
- VALIDATED
- HUMAN
Short answer
How do I clean AI marketing drafts with my AI?
Your AI uses the sanitize_gsm7 tool to strip or replace non-GSM-7 characters from your text. This ensures your messages stay within a single segment and avoids extra billing costs. You'll see exactly how the encoding changes below.
The results of sanitization
Where your text lands
What happens to your copy after the AI processes it.
ENCODED
Clean 7-bit text
The AI runs sanitize_gsm7 to remove special characters. You get a string that fits perfectly into standard SMS protocols.
SAVED
Lower SMS costs
By avoiding Unicode characters, your messages won't trigger multi-part billing. This keeps your campaign budget predictable.
VALIDATED
Protocol compliance
The output is strictly limited to the GSM-7 character set. This prevents delivery failures on older mobile networks.
HUMAN
Review required
The AI replaces unsupported symbols with similar ASCII characters. You need to check that the meaning of your copy didn't change.
The workflow
What your AI does when a draft arrives.
The AI acts as a filter between your creative writing and your SMS gateway.
Identify characters
Your agent scans your marketing copy for any characters that fall outside the 7-bit GSM standard.
sanitize_gsm7Strip or swap
The tool removes or replaces problematic Unicode symbols, emojis, or curly quotes.
sanitize_gsm7Verify length
The AI checks the new character count to ensure the message stays within a single SMS segment.
sanitize_gsm7Present output
Your agent provides the cleaned text back to you, ready to be sent to your messaging provider.
sanitize_gsm7
Try it
Copy these to start.
Use these prompts to get your AI working immediately.
Starting points
These are basic ways to trigger the tool. Swap the bracketed text for your actual content.
Unidecode & Emoji Regex Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_62Hkg8tkVyvv4L9qSbqQlax2IvyrZ64gBaZsZNQn/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Unidecode & Emoji Regex capabilities are ready to use.
{
"mcpServers": {
"sms-gsm-7-sanitizer-mcp": {
"url": "https://edge.vinkius.com/vk_preview_62Hkg8tkVyvv4L9qSbqQlax2IvyrZ64gBaZsZNQn/mcp"
}
}
}Sanitize this SMS draft for me: [paste marketing text here]
Clean the following text using the GSM-7 standard so I don't get billed for multiple segments: [paste text]
Check this campaign message for any non-ASCII characters: [paste text]
Rewrite this draft to be strictly 7-bit GSM compatible: [paste text]
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect SMS GSM-7 Sanitizer once, then ask.
Just click the link to connect the MCP to your preferred client. Your credentials stay encrypted, and you can start cleaning text immediately.
Connect SMS GSM-7 Sanitizer to your AIFAQ
How this task behaves
- 01
Will the AI change my marketing message?
The AI only changes characters that are incompatible with the GSM-7 standard. It won't rewrite your actual words or tone.
- 02
Does this tool send the SMS for me?
No. This tool only cleans and prepares the text. You still need to send the final message through your own SMS provider.
- 03
What happens to emojis in my draft?
Emojis are Unicode characters. The tool will remove them or replace them with plain text equivalents to ensure the message stays in a single segment.
- 04
Can the AI fix my spelling?
No. The sanitize_gsm7 tool is strictly for character encoding. It does not perform grammar or spell checking.
- 05
Does it handle multi-part billing automatically?
It helps prevent it by ensuring your text stays within the 7-bit character set, which prevents the message from being split into multiple segments.
More questions about SMS GSM-7 Sanitizer? The Connector page answers them. See everything the SMS GSM-7 Sanitizer Connector can do
Connect Unidecode & Emoji Regex to Claude, Cursor, ChatGPT & more
