Validates model output against retrieved sources to detect ungrounded claims, quotes, statistics, attributions, URLs, and fabricated retrieval claims.
Single tool 'check_grounding' has a moderately detailed description (189 chars) and well-structured input schema with 3 parameters, each with type and description. However, the schema lacks an explicit output schema specification, parameter constraints are minimal (only 'mode' has an enum), and error handling guidance is absent. The tool description does not clarify what output fields to expect, error scenarios, or recovery paths. No security considerations documented despite the tool processing potentially sensitive model outputs. Output structure is inferred from code comments but not formally declared in the tool definition.
Validates model output against retrieved sources and returns a list of grounding violations detected based on the specified mode (strict, lenient, or report).
Missing output schema documentation. Tool description does not declare the structure of returned violations (fields, types, nested objects). LLMs cannot plan downstream processing without knowing the response format.
Insufficient parameter constraints. 'retrieved_sources' is an array of objects but lacks a detailed schema (required fields per object, constraints on 'id', 'url', 'title', 'content'). 'model_output' has no length limits or format guidance. LLMs may pass invalid structures.
No error handling or recovery guidance. Tool description does not address failure cases (empty sources, malformed input, timeout). Agents have no direction if the tool returns an error.
Description lacks clarity on return structure and violation types. The tool mentions 'returns a list of grounding violations detected' but does not enumerate violation types (ungrounded_quote, ungrounded_url, ungrounded_statistic, ungrounded_claim, ungrounded_attribution) or explain what each violation object contains.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 50 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 31 | - | v1 |
No guidance on mode selection or when to use each mode. Description mentions 'strict', 'lenient', 'report' but does not explain which mode is appropriate for different use cases or what the behavioral differences are in detail.
Missing security documentation. Tool processes 'model_output' and 'retrieved_sources' which may contain sensitive data. No guidance on data retention, logging, or PII handling.