brightdata-mcp icon indicating copy to clipboard operation
brightdata-mcp copied to clipboard

Remaining annotation gaps after #184: idempotentHint, fill_form, get_scraper_results

Open kaspermuutra-dotcom opened this issue 1 month ago • 0 comments

Following #184 (thanks, every tool now carries three hints), a few gaps remain on main (v4.1.0) that OpenAI's plugin review is likely to flag:

  • None of the ~80 tools sets idempotentHint.
  • scraping_browser_fill_form is readOnlyHint:false, destructiveHint:false, while scraping_browser_click_ref and scraping_browser_type_ref are destructiveHint:true; filling and submitting a form is at least as consequential as typing.
  • get_scraper_results is openWorldHint:false, although server.js registers its output as external, untrusted third-party content.
  • As #184 notes, the hosted mcp.brightdata.com build may not carry these annotations at all; its tools/list should match the repo.

Why it matters: Claude and ChatGPT use these hints to decide which tools run without asking the user. Anthropic's Connectors Directory requires a title plus readOnlyHint or destructiveHint on every tool, and OpenAI's app review rejects submissions whose hints are null or don't match behaviour, with: "One or more of your tool's annotations do not appear to match the tool's behavior. Please confirm annotations are explicitly set to true or false (not null) for every tool."

Suggested fix: Set idempotentHint explicitly on every tool, give scraping_browser_fill_form the same hints as click/type, mark get_scraper_results openWorldHint:true, and diff the hosted tools/list against the repo before resubmitting.

Disclosure: I build Suncly (suncly.com), which checks MCP tools against their annotations; I found this while reviewing public MCP servers. Happy to help verify a fix.

kaspermuutra-dotcom avatar Oct 23 '26 00:10 kaspermuutra-dotcom