Brand voice
lint_brand_voiceCheck text against brand voice rules. Give text and rules (a string of plain lines, or a JSON object, or an array). Understood rules: banned words or phrases, preferred terms ('use sign in not log in', or 'log in -> sign in'), required capitalisation of product names, sentence case or title case for headings (markdown # lines or heading: prefixes), a maximum sentence length in words, banned punctuation (exclamation marks, em-dashes, ellipses, emoji, ampersands, all caps), required terms, and tone words to avoid ('tone to avoid: salesy'). Rules are parsed forgivingly and echoed back so a misread rule can be corrected. Returns violations with line number, offending text, the rule and a suggested replacement, plus the rules that never matched anything.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"rules": "<rules>"
},
"name": "lint_brand_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The copy to check. Use # lines or 'heading:' prefixes to mark headings. | |
| rules | Yes | Voice rules: plain lines (one rule per line) or a JSON object such as {"banned": [...], "preferred": {"log in": "sign in"}, "products": [...], "headings": "sentence", "maxSentenceWords": 20, "punctuation": ["!"], "required": [...], "tone": [...]} |