Prepare MCP tools for ChatGPT app submission - #205
Merged
mattzcarey merged 1 commit intoSep 4, 2026
Conversation
acoyfellow
marked this pull request as ready for review
September 4, 2026 12:48
mattzcarey
reviewed
Sep 4, 2026
| annotations: { title: 'Cloudflare Docs Search', readOnlyHint: true } | ||
| annotations: { | ||
| title: 'Cloudflare Docs Search', | ||
| readOnlyHint: false, |
Contributor
There was a problem hiding this comment.
surely this is readonly?
mattzcarey
reviewed
Sep 4, 2026
| annotations: { | ||
| title: 'Cloudflare Docs Search', | ||
| readOnlyHint: true | ||
| readOnlyHint: false, |
mattzcarey
reviewed
Sep 4, 2026
| annotations: { | ||
| title: 'Cloudflare API Spec Search', | ||
| readOnlyHint: true | ||
| readOnlyHint: false, |
mattzcarey
requested changes
Sep 4, 2026
Contributor
Author
|
Ty @mattzcarey- I changed docs and search locally to So i think OpenAI’s validator uses a stricter definition: because those tools record an internal usage metric, it considers them writes.. |
Contributor
thats hectic @acoyfellow |
mattzcarey
approved these changes
Sep 4, 2026
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
executetool's read, create, update, and delete capabilitieschatgpt-app-submission.jsonwith OpenAI Developers'$chatgpt-app-submissionskillWhy
The OpenAI submission import requires every tool to declare
readOnlyHint,openWorldHint, anddestructiveHintexplicitly. The submission skill stopped before generating the artifact because the existing tool descriptors did not satisfy that contract.docsandsearchare marked non-read-only because every invocation records a tool-call metric. They cannot change public or third-party state.executecan call the authenticated Cloudflare API, including operations that publish, overwrite, or delete resources, so it carries the strongest write annotations.The generated artifact covers the production default Code Mode endpoint at
https://mcp.cloudflare.com/mcp: three tools, five positive tests, and three negative tests.Validation
npm run checknpx oxfmt --check chatgpt-app-submission.json$chatgpt-app-submissionskillFollow-up warning
searchandexecutedo not declareoutputSchema. The OpenAI skill reports this as a reliability warning, not a submission blocker.