Voice Agent Linter
Lints a phone voice agent prompt and platform config before real callers reach it.
我該用這個嗎
品質與安全性
發現項目(3)
- HIGH
- MEDIUM在 lint_voice_agent 中
- INFO在 lint_voice_agent 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"voice-linter": {
"url": "https://mcp.modernmustardseed.com/voice-linter"
}
}
}遠端端點
https://mcp.modernmustardseed.com/voice-linterstreamable-http它能做什麼
工具清單
工具(3)
🟢lint_voice_agent(system_prompt, config_json, first_message, platform, min_severity)
Check a phone voice agent’s system prompt and, optionally, its config JSON (Vapi assistant, Retell agent or LLM, ElevenLabs agent, or OpenAI Realtime session) against rule-based checks learned on live calls. Finds: no live date and dates without a year; phone numbers, emails, URLs, hyphen ranges and long numbers the voice will misread; no spelling protocol or bare-letter spelling; instructions to pass as human, missing AI disclosure and missing recording notice; scripted tool start lines, stall phrases and silent or long openers; tools with no description, untyped or undescribed parameters, undefined required fields, unformatted date parameters and unstated results; Vapi nested item enums, flat analysisPlan keys, disabled plans and plans without the transcript; ElevenLabs Turbo stutter risk; no transfer or callback path and no end-call; placeholders, secrets, very long prompts and contradictory always and never rules. Each finding has a rule id, severity, the exact line (and JSON path for config), an excerpt, a specific message and the fix; disclosure and recording rules carry their legal citations with the date read. Returns a 0 to 100 score and a verdict. Do not paste credentials: API keys, bearer tokens, passwords and the values of secret-named config fields (apiKey, secret, token, password, credentials, Authorization) are stripped from the input before any check runs and replaced with "[secret removed]", so they are never read, returned, logged or stored; the output says how many were removed. No model reads the input and nothing is stored. Informational, not legal advice.
輸入結構描述
{
"type": "object",
"properties": {
"system_prompt": {
"description": "The agent’s system prompt, as plain text. Optional when config_json contains it.",
"type": "string",
"maxLength": 120000
},
"config_json": {
"description": "The agent’s config as a JSON string, exactly as the platform exports it (remove keys first; any left are stripped before checking): a Vapi assistant, a Retell agent and/or LLM (or {\"agent\": ..., \"llm\": ...}), an ElevenLabs agent, or an OpenAI Realtime session or session.update event.",
"type": "string",
"maxLength": 300000
},
"first_message": {
"description": "The opening line the agent speaks, when it is not in the config.",
"type": "string",
"maxLength": 4000
},
"platform": {
"default": "auto",
"description": "Which platform the config is for. \"auto\" detects it from the JSON.",
"type": "string",
"enum": [
"auto",
"vapi",
"retell",
"elevenlabs",
"openai_realtime"
]
},
"min_severity": {
"default": "low",
"description": "Only return findings at or above this severity: critical, high, medium or low.",
"type": "string",
"enum": [
"critical",
"high",
"medium",
"low"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_lint_rules(platform, category)
List every Voice Agent Linter rule with its id, title, default severity, category, what it reads (prompt, config or both) and the platforms it applies to. Filter by platform or category. Static reference, no network access.
輸入結構描述
{
"type": "object",
"properties": {
"platform": {
"description": "Only rules that apply to this platform: vapi, retell, elevenlabs or openai_realtime.",
"type": "string",
"enum": [
"vapi",
"retell",
"elevenlabs",
"openai_realtime"
]
},
"category": {
"description": "Only rules in this category.",
"type": "string",
"enum": [
"dates",
"speech",
"spelling",
"disclosure",
"turn_taking",
"tools",
"analysis",
"voice",
"call_control",
"hygiene"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢explain_lint_rule(rule_id)
Explain one Voice Agent Linter rule by id: why it exists, a bad and a good example, the fix, the platforms it applies to, and its sources with the date each was read. Static reference, no network access.
輸入結構描述
{
"type": "object",
"properties": {
"rule_id": {
"type": "string",
"enum": [
"no-live-date",
"date-without-year",
"date-param-no-format",
"phone-as-numerals",
"email-written-raw",
"url-written-raw",
"hyphen-range",
"long-digit-string",
"markdown-output",
"no-spelling-protocol",
"bare-letter-spelling",
"english-anchors-multilingual",
"claims-to-be-human",
"no-ai-disclosure",
"no-recording-notice",
"scripted-tool-start",
"stall-phrases",
"silent-opener",
"long-opener",
"tool-no-description",
"tool-param-untyped",
"tool-param-undescribed",
"tool-required-missing",
"tool-result-unstated",
"vapi-nested-item-enum",
"vapi-flat-analysis-keys",
"vapi-analysis-plan-off",
"vapi-analysis-no-transcript",
"turbo-tts-stutter",
"no-human-fallback",
"no-end-call",
"vapi-max-duration-default",
"vapi-free-number-outbound",
"unfilled-placeholder",
"secret-in-prompt",
"prompt-length",
"contradictory-instructions"
],
"description": "The rule id, for example no-live-date, vapi-nested-item-enum or no-ai-disclosure."
}
},
"required": [
"rule_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據