Validate Qa
validate_qaValidates question-answer pairs for flashcards, separating required recall from stem context and flagging cardinality, yes/no, multiple-choice, context, and number-unit issues before review.
Instructions
Validate a QA pair (stem + answer), separating retrieved recall target from necessary stem context (stem context length is not extra recall; length-only checks emit WARN, never CRITICAL). Checks: QA.CARDINALITY (≥3 items → review unit, split independent recalls or move optional details to notes; no automatic QA->Cloze conversion), QA.YESNO, QA.MC_EMBED, QA.CONTEXT_WARN, QA.NUMBER_UNIT. Returns information_profile with candidate_items, evidence, and 6-question editorial checklist.
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": {
"enunciado": "<enunciado>",
"resposta": "<resposta>"
},
"name": "validate_qa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | ||
| resposta | Yes | ||
| enunciado | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||