Tutorial: Managing Tools with Gatekit
This tutorial shows how to filter, rename, and customize tool descriptions using the Tool Manager plugin.
Why Manage Tools?
MCP servers often expose more tools than you need. Extra tools:
- Clutter the agent's context window
- Increase the chance of the agent picking the wrong tool
- May expose capabilities you'd rather hide
Tool Manager lets you curate exactly which tools are visible to your MCP client.
Prerequisites
- Gatekit installed and configured (run
gatekitto complete guided setup) - At least one MCP server configured
Step 1: Open the Server Panel
- Run
gatekit - Select your config file (or use the default)
- In the main view, select the server you want to configure
- Press
Enterto open the server panel
Tool Manager is configured per-server because each server has different tools.
Step 2: Enable Tool Manager
- In the server panel, find Tool Manager under the Middleware section
- Select it and press
Enterto open the configuration modal - Toggle Enabled to on
Step 3: Select Which Tools to Allow
The Tool Manager uses an allowlist - only checked tools are visible to your MCP client.
- In the configuration modal, you'll see a list of all tools from this server
- Check the tools you want to keep visible
- Uncheck tools you want to hide
Tip: Start by unchecking tools you never use. You can always re-enable them later.
Step 4: Rename a Tool (Optional)
Tool names from MCP servers aren't always clear. You can rename them:
- Select a tool in the list
- Edit the Display Name field
- The original tool still works - Gatekit translates the name automatically
Example: Rename fs_read to read_file for clarity.
Step 5: Customize a Description (Optional)
Tool descriptions help the agent understand when to use each tool. Override unclear descriptions:
- Select a tool in the list
- Edit the Display Description field
- Write a clear, specific description
Example: Change puppeteer_screenshot's description from "Take a screenshot" to "Capture the current page for visual debugging. Use after navigation or interactions to verify the expected state rendered correctly."
Step 6: Save and Restart
- Press
Ctrl+Sor click Save to save your configuration - Restart your MCP client (Claude Desktop, Cursor, etc.)
Your client will now only see the tools you allowed, with your custom names and descriptions.
Verifying It Works
Ask your MCP client to list available tools. You should see:
- Only the tools you enabled
- Your custom names (if you renamed any)
- Your custom descriptions (if you changed any)
Next Steps
- Configure Tool Manager for your other servers
- Explore audit logging to see what tools are being called
- Read the plugin development guide to build custom filtering logic