Guide Box and Notion agents to stop retrying unavailable tools#301
Draft
william-openai wants to merge 3 commits into
Draft
Guide Box and Notion agents to stop retrying unavailable tools#301william-openai wants to merge 3 commits into
william-openai wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tool <name> not foundas terminal for that tool during the current tasksearchandfetchwhen those available fallbacks are sufficientnotion-search/notion-fetchtosearch/fetchWhy
Box and Notion expose some MCP tools conditionally by account or workspace, while the app schema snapshot can still advertise those tools broadly. When the provider returns
Tool <name> not found, retrying that same tool with different arguments or later in the task cannot recover.Notion's ChatGPT/Codex tool surface special-cases the base tools as
searchandfetch. Other actions retain theirnotion-*names, such asnotion-create-pages.In the trailing seven-day analysis (
2026-05-26 00:00 UTCthrough2026-06-02 00:00 UTC):not foundfailures out of 5,123 total errors. At least 447 were redundant same-turn retries.not foundfailures out of 909,812 total errors. At least 133,861 were redundant same-turn retries.This is a guidance-level mitigation. It should reduce avoidable repeat calls after the first terminal error, but it does not prevent the initial call caused by the schema/runtime mismatch.
Validation
git diff --check -- plugins/box plugins/notionrg -n "Notion:notion-(search|fetch)|\bnotion-(search|fetch)\b" plugins/notion(no matches)jq emptyfor all changed Notion eval filesnode plugins/plugin-eval/scripts/plugin-eval.js analyze plugins/box --format markdown(no failures; existing Box budget/structure warnings remain)node plugins/plugin-eval/scripts/plugin-eval.js analyze plugins/notion --format markdown(currently crashes on the unchanged existinginterface.defaultPromptstring shape:((intermediate value) || []).join is not a function)