brain_quality
Pin a known-good baseline and report retrieval health from query logs—zero-hit rate, average hits, latency, bad-answer feedback, and drift—to detect when answer quality declines.
Instructions
Retrieval health from the query log: zero-hit rate, average hits and latency, bad-answer rate from feedback, plus drift against a pinned baseline. Use action=pin on a known-good day, then action=report to see whether quality slid.
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": {
"action": "<action>"
},
"name": "brain_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | report = compare to baseline; pin = set it | |
| window | No | queries per window (default 200) |