You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extend GPT-5.4-style tool search and deferred loading to all MCP server tools to save tokens (-47 %) #14507
Right now, general MCP tools still appear to be injected into the model context up front, which can consume a large number of tokens in tool-heavy setups.
It would be valuable to support an optional or automatic mode that routes all MCP tools through the new tool_search (announced here https://openai.com/index/introducing-gpt-5-4/) for GPT-5.4 + newer models, especially when many servers or large tool schemas are configured. This could reduce token usage, improve latency, and preserve prompt cache efficiency without changing the existing MCP tool surface.
Additional information
Example of Context7 MCP tool descriptions:
resolve-library-id: 2000 characters, 306 words
query-docs: 522 characters, 82 words
Total: 2522 characters or 388 words
These are added to the context with every request, even though they may only be relevant for 1/20 of all requests.
Reacted by Samuel Tschiedel, Ash Boxshall, ming, Zach V, Victor Molostov, rodalpho, Tyce Herrman, Tushar Shrivastav, Alex Fadeev, Gil Emmanuel Bancud and 1 more
Activity
feat(config): add advertise_observability_tools flag to hide admin to…
feat(config): add advertise_observability_tools flag to hide admin to…
tspython commentedon Apr 20, 2026
Important to fix as this would really bring open ai agents sdk up to par with other agent sdks.
etraut-openai commentedon Aug 5, 2026
Lazy MCP discovery is implemented through
tool_search.