Hybrid Rerank Fusion Retriever - Fuses dense semantic vectors and sparse lexical BM25 ranks via Reciprocal Rank Fusion
Single tool with incomplete schema and minimal descriptions. Tool name 'fuse_and_rerank_results' contains 'and' (pattern violation). Input schema visible in tools/list response but lacks critical details: no parameter types in the MCP response, no output schema documented, no error handling guidance. Description is 127 chars (acceptable length) but lacks WHEN/WHY context. Parameters have descriptions but no type constraints, ranges, or validation rules. No enum constraints despite accepting structured input. Tool implementation in client.py shows default values but MCP registration omits schema entirely from tools/list.
Fuses dense semantic vectors and sparse lexical BM25 ranks via Reciprocal Rank Fusion.
Tool name 'fuse_and_rerank_results' violates single-responsibility naming, contains 'and' suggesting two operations (fuse + rerank). Should split into separate tools or rename to reflect primary action.
Input schema completely absent from tools/list response. MCP registration returns only name and description; no inputSchema field. Cannot verify parameter types, required fields, or constraints.
No output schema documented. Clients cannot predict response structure (query, fusion_method, top_doc_id, ranked_documents array). LLMs cannot plan downstream operations without knowing return fields.
No error handling or recovery guidance. Tool silently defaults to hardcoded demo data if dense_results or sparse_results are null. No validation, no error messages, no guidance for invalid inputs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 31 | 2026-07-28+ | v2 |
Parameter descriptions lack constraints. 'query' has no length limits; 'dense_results' and 'sparse_results' have no min/max array sizes, no required field validation, no format specs for doc_id or score ranges.