Recommend rerank strategy
recommend_rerank_strategyAnalyze rerank event metrics over a selected window and return a summary plus actionable findings to guide RAG reranker strategy.
Instructions
Roll-up advisor over the four analytics for one window. Returns a single headline summary + the full list of findings. Built from whichever combination of reranker_idle / topk_stable / score_clustering / rerank_hurts_ndcg / rerank_lifts_ndcg fires. Also feeds the RAG Reranker Pipeline category in audit_database. Reads from mcpg_rag.rerank_events.
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": "recommend_rerank_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| database | No | Optional: a database id from list_databases, to target a configured secondary (read-only) database; omit for the primary. Database names that are not configured ids are rejected. | |
| retrieval_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| findings | Yes | ||
| window_days | Yes | ||
| retrieval_index | Yes |