MCP Shipyard
← Rules catalog

ChatGPT widget tool status strings: set toolInvocation invoking and invoked

Set openai/toolInvocation/invoking and invoked on widget tools so ChatGPT can show short status lines while the tool runs.

minorapps.invocation-strings-missingChatGPT

Add short status strings to each tool that renders a widget. The rule apps.invocation-strings-missing is a minor finding for ChatGPT. It warns when a widget tool lacks either _meta["openai/toolInvocation/invoking"] or _meta["openai/toolInvocation/invoked"].

What you see

  • A scan reports Missing openai/toolInvocation/invoking or invoked. as a warning.
  • Users see no tailored status text while the tool runs. What ChatGPT shows instead is not verified here.

Why it happens

The strings are optional, so tutorials skip them. OpenAI's UI guide uses them in its examples: "openai/toolInvocation/invoking": "Rolling…" and "openai/toolInvocation/invoked": "Rolled.", and "Rendering…" with "Rendered." for a render tool. The page does not define them beyond the examples, so treat the rule as a polish check based on those examples, not a documented requirement.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
 | jq '.result.tools[] | select(._meta.ui.resourceUri or ._meta["openai/outputTemplate"]) | {name, invoking: ._meta["openai/toolInvocation/invoking"], invoked: ._meta["openai/toolInvocation/invoked"]}'

Fix

_meta: {
  ui: { resourceUri: "ui://widget/orders.html" },
  "openai/toolInvocation/invoking": "Looking up your order",
  "openai/toolInvocation/invoked": "Found your order",
}

Keep each string short, present tense for invoking and past tense for invoked, and free of marketing words (desc.promotional).

If you also publish to other hosts, these keys are ChatGPT-specific aliases, so they sit beside the shared _meta.ui block and do not replace it (apps.legacy-keys-only). A render tool with no status text still works; the only loss is the progress line. Because the rule rests on examples and not on a stated requirement, fix it after the blockers and majors above it in your scan.

Verify

The jq output shows both strings for every widget tool, then re-scan.

Which clients care

ChatGPT, per the rule.

Source

OpenAI UI guide: https://developers.openai.com/plugins/build/chatgpt-ui

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server