validate_output
Score AI-generated text against configurable quality criteria: length limits, required keywords, forbidden patterns, claim density, and task relevance. Identify hallucination risks and scope violations.
Instructions
Score agent output quality against configurable criteria. Checks length, required keywords, forbidden patterns, claim density, and task relevance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"output": "<output>",
"task_description": "<task_description>",
"criteria": "<criteria>"
},
"name": "validate_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | The agent output text to validate | |
| criteria | Yes | Quality criteria to check against | |
| task_description | Yes | Description of what the agent was asked to do |