MCP server for semantic tool discovery and invocation across multiple MCP servers
Project description
Advanced Tool Use for Factory.ai Droid CLI
Research and implementation of advanced tool use patterns to enhance Factory.ai Droid CLI capabilities.
Goal
Implement cutting-edge tool use patterns from Anthropic and Cloudflare research to make Droid CLI more efficient, capable of handling larger tool libraries, and better at complex multi-step workflows.
Key Concepts
| Pattern | Description | Benefit |
|---|---|---|
| Code Mode | Have Claude write code to call tools instead of direct tool calling | LLMs handle complex tools better as code APIs |
| Tool Search Tool | Dynamic tool discovery with semantic search | 85-90% reduction in context usage |
| Programmatic Tool Calling | Execute tools from code in sandbox | Filter results before context, reduce latency |
| Tool Use Examples | Provide input_examples for better patterns | Improved tool usage accuracy |
| Code Execution with MCP | Present MCP servers as code APIs | Unlimited tool libraries, efficient orchestration |
Research References
- Code Mode: The Better Way to Use MCP - Cloudflare
- Advanced Tool Use on Claude Developer Platform - Anthropic
- Code Execution with MCP - Anthropic
- Tool Search Tool Documentation
- Programmatic Tool Calling Documentation
- Tool Use Examples
Cookbooks
Status
Phase: Research & Goal Definition
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tool_search-0.1.2.tar.gz.
File metadata
- Download URL: tool_search-0.1.2.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30ea23d196b3fcc17692f42aa1894f58dae59f2c8765603c54e4ce637ca2e7a5
|
|
| MD5 |
eb3a667c96273c208a8fb6cc24738e3a
|
|
| BLAKE2b-256 |
151067668d8492c233418fb3882d3b6b8df03181ed8be07d6e8b91918efc1ffc
|
File details
Details for the file tool_search-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tool_search-0.1.2-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d6f9935399b14ac98683eecc93f588b3a032c648ada2fd0dd65eac0798703b
|
|
| MD5 |
67afe453626b40feec95bf64eb090f04
|
|
| BLAKE2b-256 |
5e2ceeb2f980c2f8345efcb9cdc2a63aa1c035e336d2aab8ae36b70c1bd03380
|