The 'scan' tool has a documented description and input schema with three parameters (records, threshold, pass_faithfulness), but critical gaps severely limit usability. The schema lacks type definitions for the 'records' array items, no nested object schema defining 'question', 'answer', 'contexts' structure. Parameter descriptions are present but minimal (under 100 chars each). No output schema is documented. The tool name 'scan' is generic and does not follow verb_noun convention (should be 'audit_rag_records' or 'scan_hallucinations'). Error handling is absent, no guidance on what happens if records are malformed, threshold is out of range, or the audit fails. The implementation delegates to cognis_core.mcp.build_mcp_server(), which is not visible in the source, making it impossible to verify actual schema registration or error behavior. Per HARD SCORING RULES: tool definition is inferred rather than directly visible, capping overall at 50; schema is incomplete (missing nested type definitions), capping schema at 30.
LLM hallucination & grounding auditor for RAG systems
Tool name 'scan' is generic and does not follow verb_noun convention. Should be 'audit_rag_records', 'scan_hallucinations', or similar to clarify intent.
Input schema for 'records' parameter lacks nested object definition. The array items should explicitly define required fields (question, answer, contexts) with types and descriptions. LLMs cannot infer the expected structure.
No output schema documented. LLMs cannot plan downstream actions or extract results without knowing what fields the tool returns (e.g., does it return per-record pass/fail, overall score, list of unsupported claims?).
No error handling guidance. What happens if threshold is negative, pass_faithfulness > 1, or records are malformed? No recovery hints for LLMs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 33 | 2026-07-28+ | v2 |
Tool definition is inferred from cognis_core.mcp.build_mcp_server() call; actual schema registration and validation logic are not visible in the provided source. Cannot verify compliance with MCP tool registration spec.