llm-output-quality-monitor
v1.0.0Cloudflare Workers MCP server: llm-output-quality-monitor
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
quality_validator
Validate LLM response quality based on length, format, and structure
| Parameter | Type | Description |
|---|---|---|
response * | string | LLM response to validate |
maxLength | number | Maximum response length (default: 10000) |
minLength | number | Minimum response length (default: 10) |
strictFormat | boolean | Enforce punctuation and capitalization |
drift_detector
Detect quality drift between current and previous LLM responses
| Parameter | Type | Description |
|---|---|---|
currentResponse * | string | Current LLM response |
previousResponse * | string | Previous LLM response |
threshold | number | Drift threshold (0-1, default: 0.15) |
hallucination_scorer
Pattern-based heuristic risk scoring for LLM responses (0-100). Detects linguistic signals such as contradictory assertions, unsourced claims, and uncertainty markers. Not a semantic hallucination detector.
| Parameter | Type | Description |
|---|---|---|
response * | string | LLM response to analyze |
context | string | Reference context for grounding |
schema_enforcer
Validate JSON response against schema
| Parameter | Type | Description |
|---|---|---|
response * | string | JSON response to validate |
schema * | object | JSON schema definition |
consistency_check
Check consistency across multiple LLM responses
| Parameter | Type | Description |
|---|---|---|
responses * | array | Array of responses to compare |