Production-grade factual grounding and hallucination verification engine that decomposes responses into atomic claims and calculates reference context token attribution ratios.
Single tool with critical definition gaps. Tool name 'verify_grounding_claims' is acceptable (verb_noun pattern), but the implementation reveals severe issues: (1) Input schema is declared in the rubric but NOT visible in mcp_server.py, only inferred from the description. The tools/list response omits the input schema entirely, violating JSON-RPC MCP spec. (2) Tool description is 108 chars, acceptable length, but lacks actionable detail on when to use it, what it returns, or error cases. (3) No output schema documented, LLMs cannot plan downstream calls. (4) The client.py implementation hardcodes example data and ignores the generated_answer and reference_context parameters entirely, making the tool non-functional for real inputs. (5) No error handling, validation, or recovery guidance. (6) The mcp_server.py tools/call handler does not extract or pass parameters from the request payload to the client method.
Verifies factual grounding ratio and detects hallucinations against reference context.
Input schema not exposed in tools/list response. MCP spec requires tools to declare inputSchema with type, properties, and required fields. Current response omits schema entirely.
Tool implementation ignores input parameters. verify_grounding_claims() in client.py accepts generated_answer and reference_context but uses hardcoded defaults regardless of input, making the tool non-functional.
No output schema documented. LLMs cannot infer the structure of the response (check_id, grounding_ratio, evaluated_claims, etc.) and cannot plan downstream operations.
Parameter descriptions missing from schema. Input parameters 'generated_answer' and 'reference_context' lack descriptions in the tools/list response, violating pattern:tool-description.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 34 | 2026-07-28+ | v2 |
No error handling or recovery guidance. Tool provides no error messages, validation feedback, or actionable next steps if inputs are invalid or claims cannot be evaluated.