verify_retrieval
Grade your repository's retrieval quality by generating test cases from git co-change history and reporting hit/recall scores.
Instructions
Mine git history and grade retrieval quality on your repo.
Generates test cases from co-change history, runs DiffContext retrieval against them, and reports hit/recall. Prints NULL RESULT when the tool doesn't fit your repo — finding that out IS the feature.
Args: repo_path: Absolute path to the repository. If omitted, uses the --repo from server startup. n: Maximum number of test cases to generate from git history (default 20).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_retrieval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| repo_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |