Skip to content

ToolsFilter

Fetch only relevant tools for the current conversation and save cost while increasing the precision of your LLM Response

Install

$git clone https://github.com/OppieAI/ToolsFilter

Install command taken from the project's README or registry entry. Always review code before running it.

OppieAI MCP Tool Filter

A Precision-driven Tool Recommendation (PTR) system for filtering MCP (Model Context Protocol) tools based on conversation context. Fetch only relevant tool for the ongoing conversation and save cost while increasing the precision of your LLM Response.

Developed by OppieAI

🎥 Explainer Video

Watch the full explanation of how ToolsFilter works and its impact on LLM performance

Table of Contents

Why?

The Tool Overload Problem

Modern LLMs with access to large tool suites face a critical performance degradation issue: the more tools available, the lower the accuracy becomes. This phenomenon is well-documented in research and practical implementations:

📊 Research Evidence

Recent studies using MCPGauge evaluated six commercial LLMs with 30 MCP tool suites and revealed alarming findings:

  • 9.5% accuracy drop on average when LLMs have automated access to MCP tools
  • 3.25× to 236.5× increase in input token volume, creating massive computational overhead
  • "Non-trivial friction" between retrieved context and the model's internal reasoning
  • Models struggle with instruction compliance when too many tools are available

🎥 Visual Evidence

This accuracy degradation with increased tool count is demonstrated in this analysis video, showing how model performance deteriorates as more tools are introduced.

Solution

Core Capabilities

  • 🚀 Multi-Stage Search Pipeline: Semantic + BM25 + Cross-Encoder + LTR ranking
  • 🎯 High-Performance Results: Perfect P@1 and MRR across all search strategies
  • 🧠 Learning-to-Rank: XGBoost model with 46+ engineered features (NDCG@10: 0.975)
  • 🔧 OpenAI Function Calling Compatible: Flat tool structure following OpenAI specification

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related