Open-source tool trims LLM tool lists to save input tokens
clear-your-tools is an open-source project that cleans up the tool list an AI sees before it works. Its page says it can cut input tokens by about 30% while helping the LLM stay focused. This can matter for people building AI agents because fewer tokens can mean lower cost and less clutter.
Key points
- It removes irrelevant MCP tools before the AI starts a task.
- Cutting input tokens can reduce cost and may make responses faster.
- It is most useful when an AI agent has many connected tools.
Quick term guide
- open-source
- Software whose code is shared publicly so others can inspect, use, or change it.
- input tokens
- Small pieces of text sent into an AI model as part of a request.
- tokens
- Tokens are small pieces of text that AI systems count when reading or writing.
- AI agents
- AI agents are AI tools that can carry out steps toward a goal, not just answer once.
- AI agent
- An AI program that can inspect information and suggest what to do next.
- agents
- AI helpers that follow your instructions and make changes for you.
- MCP tools
- Tools that let an AI agent use outside apps, files, or services.
- responses
- An OpenAI API feature for creating and handling model answers.