Expand description
Tool discovery caching system for MCP to avoid redundant tool searches
This module provides multi-level caching for MCP tool discovery with bloom filters for fast exact-name negative lookups and an LRU cache for positive results. The bloom filter only screens exact tool names; fuzzy discovery keywords are never screened against it because its definitive “no” does not extend to fuzzy matching.
Structs§
- Bloom
Filter - Bloom filter for fast negative lookups (tool doesn’t exist)
- Cached
Tool Discovery - Enhanced tool discovery with caching
- Tool
Cache Stats - Cache statistics for monitoring
- Tool
Discovery Result - Cached tool discovery result (matches actual API)