Overview
Migrate the third batch of 5 complex analysis tools from FastMCP to Official MCP SDK, ensuring dynamic FAISS vector DB integration for all search operations.
Tools to Migrate
knowledge_search - Core semantic search with source filtering and k parameter
find_contradictions - Contradiction analysis across time periods
search_by_date_range - Temporal filtering search
get_vector_db_analysis - Database content statistics and analysis
ping - Health check endpoint
Key Requirements
- Dynamic FAISS Integration: All search tools must query FAISS vector DB in real-time
- Complex Filtering: Support source filters (books/news/forum) and date ranges
- Large Result Sets: Handle k values up to 50 efficiently
- Search Performance: Maintain acceptable performance (may exceed 3s for complex queries)
- Feature Flag:
ENABLE_BATCH3_MIGRATION for progressive rollout
- Exact Compatibility: Preserve exact output format for backward compatibility
Acceptance Criteria
Technical Approach
- Core
knowledge_search is critical - must maintain exact behavior
- Implement comprehensive inputSchema with constraints
- Handle optional parameters gracefully
- Preserve result ordering and format
- Monitor memory usage with large k values
Related
Testing Focus
- All source filter combinations
- Date range edge cases
- Large result sets (k=50)
- Concurrent search requests
- Memory usage monitoring
- A/B testing against old implementation
Overview
Migrate the third batch of 5 complex analysis tools from FastMCP to Official MCP SDK, ensuring dynamic FAISS vector DB integration for all search operations.
Tools to Migrate
knowledge_search- Core semantic search with source filtering and k parameterfind_contradictions- Contradiction analysis across time periodssearch_by_date_range- Temporal filtering searchget_vector_db_analysis- Database content statistics and analysisping- Health check endpointKey Requirements
ENABLE_BATCH3_MIGRATIONfor progressive rolloutAcceptance Criteria
Technical Approach
knowledge_searchis critical - must maintain exact behaviorRelated
Testing Focus