Optimize your agent

Load fewer tools

Turn off tools you don't use

Every enabled tool costs tokens on every request where definitions load up front, and a long tool list makes the right one harder to pick. Most harnesses let you switch off whole servers or single tools, and several enterprise assistants cap how many tools one agent can hold.

Checked on the vendor's pages 30 Nov 2026

Where it fits

Building my own agent Fits

Filter the tool list per step.

Using a coding agent Fits

Disable servers and tools you don't use.

Using an enterprise assistant Fits

Copilot Studio and Gemini Enterprise cap tools per agent.

Using a workflow tool Fits

Zapier suggests 3 to 5 actions per agent.

The setting in each harness

Read on each vendor's own page, linked next to the setting.

HarnessSetting
OpenAI Responses and Agents SDK

tool_filter on the MCP server, with cache_tools_list

openai.github.io, read 30 Nov 2026
Vercel AI SDK

prepareStep returning activeTools

ai-sdk.dev, read 30 Nov 2026
Claude Code

/mcp to switch off servers you don't use; prefer CLIs such as gh over an MCP server

code.claude.com, read 30 Nov 2026
Codex

enabled_tools or disabled_tools per MCP server; tool_input_schema_max_bytes trims long schemas (default 5,000)

learn.chatgpt.com, read 30 Nov 2026
OpenCode

"disabled": true on an MCP server, or a deny permission for its tools

opencode.ai, read 30 Nov 2026
ChatGPT

Switch individual tools off on the app's details page in settings

developers.openai.com, read 30 Nov 2026
Microsoft Copilot Studio

Keep 25 to 30 tools per agent

learn.microsoft.com, read 30 Nov 2026
Gemini Enterprise

Enable only the actions the agent uses

docs.cloud.google.com, read 30 Nov 2026
n8n

MCP Client Tool: Tools to Include, "Selected"

docs.n8n.io, read 30 Nov 2026
Zapier

3 to 5 actions per agent

help.zapier.com, read 30 Nov 2026
Make

Select only the MCP tools the agent needs; extra servers and tools raise token use

help.make.com, read 30 Nov 2026