Heterogeneous validation protocol for MCP — structured reasoning (T1) + cross-model confidence evaluation (T2) + deterministic checksum
Three tools with complete input schemas and descriptions, but significant quality gaps. Tool names lack action verbs (t1_translate, t2_evaluate, checksum are noun-heavy). Descriptions are adequate (100-200 chars) but lack WHEN/WHY guidance for LLM selection. Parameters have types and descriptions, but no enums for constrained inputs (weight_hint accepts free-form strings despite 5 canonical options). Output schemas are not documented, LLMs cannot plan downstream calls. Error handling is absent from visible code. No security considerations (secrets, permissions, audit). Composition is reasonable (three distinct concerns), but tools are tightly coupled to a proprietary protocol with limited reusability.
Deterministic structural pre-validation for AI output — semantic ECC pipeline checking for level tags, delimiters, section count, failure keywords, and dangerous patterns. Zero LLM dependency.
T1: Structured prompt translation — convert natural language reasoning into formal L1/L2/L3/L4 evidence hierarchy with explicit assumptions and logical structure.
T2: Cross-model confidence evaluation — assess answer quality using qualitative confidence descriptors (高/中偏高/中/中偏低/低) with recursion depth tracking and automatic termination at depth ≥3.
Tool names lack action verbs. 't1_translate', 't2_evaluate', 'checksum' are noun-heavy and do not clearly signal what action the LLM should expect. Recommend: 'translate_to_t1_structure', 'evaluate_confidence_t2', 'validate_structure_checksum'.
weight_hint parameter accepts free-form strings but has 5 canonical options (事实优先, 効率優先, etc.). No enum constraint, LLMs will hallucinate invalid values. Add enum: ['事实优先', '效率优先', '成本优先', '鲁棒性优先', '通用优先'] with aliases.
Output schemas are not documented. LLMs cannot infer what fields t1_translate, t2_evaluate, or checksum return. Add explicit response schemas with field types and descriptions.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | 2026-07-28+ | v2 |
No error handling guidance. Code contains no try-catch, validation, or recovery hints. If weight_hint is invalid or locale is unsupported, what does the tool return? Add error classification (retryable, user-fixable, fatal) and actionable messages.
locale parameter accepts 'en' or 'zh' but description does not enumerate valid values. Add enum or explicit constraint: 'Must be "en" (English) or "zh" (Chinese). Defaults to English.'