llm-output-quality-monitor

v1.0.0
io.github.lazymac2x/llm-output-quality-monitor Checked 4 days ago Published 6 months ago

Cloudflare 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

ParameterTypeDescription
response *stringLLM response to validate
maxLengthnumberMaximum response length (default: 10000)
minLengthnumberMinimum response length (default: 10)
strictFormatbooleanEnforce punctuation and capitalization

drift_detector

Detect quality drift between current and previous LLM responses

ParameterTypeDescription
currentResponse *stringCurrent LLM response
previousResponse *stringPrevious LLM response
thresholdnumberDrift 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.

ParameterTypeDescription
response *stringLLM response to analyze
contextstringReference context for grounding

schema_enforcer

Validate JSON response against schema

ParameterTypeDescription
response *stringJSON response to validate
schema *objectJSON schema definition

consistency_check

Check consistency across multiple LLM responses

ParameterTypeDescription
responses *arrayArray of responses to compare