Tool Ranking Algorithm
After semantic search returns candidates, the ranking algorithm determines the final order.The Formula
Quick Reference
| Factor | Weight | Purpose |
|---|---|---|
| Semantic Similarity | 40% | How well does the tool match your query? |
| Popularity | 25% | How often is the tool used? |
| User History | 20% | Have YOU used this tool successfully? |
| Performance | 15% | Is the tool fast and reliable? |
Example
Query: “Deploy to AWS” Tool Scores:- deploy-aws-ecs: 0.92 (high across all factors)
- deploy-aws-lambda: 0.88 (good but less popular)
- deploy-terraform: 0.76 (less semantic match)
Next Steps
Full Dynamic Retrieval Guide
Deep dive with examples.
API Reference
Technical details.
For detailed examples and the complete algorithm, see Dynamic Tool Retrieval. 🚀