plugins/chatgpt-apps/skills/mcp-tool-hint-justifications/SKILL.md
Inspect an MCP server codebase and generate tool-hint-justifications.json for Apps SDK submission review, with concise justifications for readOnlyHint, openWorldHint, and destructiveHint.
npx skillsauth add openai/plugins mcp-tool-hint-justificationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when a developer needs a tool-hint-justifications.json file for a ChatGPT Apps submission. The file is uploaded in the Apps submission form to fill out the MCP tool hint justification fields.
readOnlyHint, openWorldHint, and destructiveHint annotations.tool-hint-justifications.json in the current working directory.Do not infer behavior from the tool name alone. Use the real tool implementation and declared annotations. If a tool calls into another module or API client, inspect enough of that path to know whether it reads, writes, deletes, sends, publishes, or changes external state.
Use the Apps SDK review meanings:
readOnlyHint: true only when the tool strictly fetches, looks up, lists, retrieves, or computes data without changing state. false if it can create, update, delete, send, enqueue, run jobs, write logs, start workflows, or otherwise mutate state.destructiveHint: true if the tool can delete, overwrite, send irreversible messages or transactions, revoke access, or perform destructive admin actions, including via some modes or parameters. Otherwise false.openWorldHint: true if the tool can change publicly visible internet state or external third-party systems, such as sending emails or messages, posting/publishing content, creating public tickets/issues, pushing code/content, or submitting external forms. false if it only operates in closed/private systems.ChatGPT Apps submissions require every tool to set all three hints explicitly. Missing or null hints are submission blockers, even if MCP clients may have protocol-level defaults.
If a hint is missing, null, or does not match the actual behavior you found in code, stop before writing the JSON and ask the developer for approval to update the MCP server source. In the approval request, list each affected tool, the missing/current hint value, the behavior you observed, and the recommended explicit hint value. If the developer approves, make the smallest source change that sets the correct hint explicitly, then generate JSON using the updated values. If the developer does not approve or the correct edit location is ambiguous, do not generate misleading JSON; report the mismatch and the blocked update.
Write exactly one JSON file named tool-hint-justifications.json:
{
"$schema": "https://developers.openai.com/apps-sdk/schemas/tool-hint-justifications.v1.json",
"schema_version": 1,
"tools": {
"tool_name": {
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
},
"justifications": {
"read_only_justification": "Only retrieves matching records and does not modify data.",
"open_world_justification": "Does not write to public internet state or third-party systems.",
"destructive_justification": "Does not delete, overwrite, revoke access, or perform irreversible actions."
}
}
}
}
$schema identifies the import file shape for editors and importers; Codex does not need to fetch it. tools is the only v1 import surface.
Good examples:
Only retrieves project metadata and returns it without creating or updating records.Creates a private task in the user's workspace and cannot publish content to public URLs.Deletes the selected workspace document, which cannot be recovered after confirmation.Bad examples:
readOnlyHint is true because the tool is read-only.Probably safe.The function calls client.delete_item(...) in src/server.py.After writing the file, summarize the number of tools covered and list any tool names that required especially careful judgment. If generation is blocked, lead with the exact missing hints or source ambiguity.
tools
Top-level workflow skill for USD performance diagnosis and optimization. Use for slow loading, high memory, low FPS, or 'optimize my scene' requests; delegates auth/runtime setup to Phase 0 owners.
data-ai
Use when the user mentions MagicPath, designs, UI components, themes, canvas selections, or repo-to-canvas UI work; run magicpath-ai to search, inspect, install, or author components.
documentation
Use as the top-level router for Omniverse Realtime Viewer USD app requests and focused viewer reference documents.
tools
Turn Notion specs into implementation plans, tasks, and progress tracking; use when implementing PRDs/feature specs and creating Notion plans + tasks from them.