prune_tools
Score and rank tools by relevance to a task intent, then prune low-scoring ones to save context tokens.
Instructions
Score and rank MCP tools by relevance to a task intent. Optionally prune low-relevance tools to save context tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | The task description or user intent to score tools against | |
| tools | Yes | Array of tool definitions to score | |
| mode | No | rank: score and sort all tools. prune: also mark bottom-M tools for removal | rank |
| prune_count | No | Number of lowest-scoring tools to prune (only in prune mode, default 5) |