--- prompt: clear-form-spam title: Clear spam out of your form inbox description: Your agent spots the junk in your contact form replies and moves it to spam, after you say yes. category: Security products: Forms mode: can make changes, asks first tools: jetpack-forms/get-status-counts, jetpack-forms/get-responses, jetpack-forms/bulk-update-responses url: https://jetpack.com/prompts/clear-form-spam/ updated: 2026-10-25 --- # Clear spam out of your form inbox Your agent spots the junk in your contact form replies and moves it to spam, after you say yes. ## Prompt > Look through the last [30] messages in my form inbox. Show me any that look like spam and tell me why. Ask me before you mark them as spam. Square brackets are placeholders. Ask the user to fill them in if they did not. ## Steps for your agent 1. Call jetpack-forms/get-status-counts to see how many replies are in the inbox, spam and trash. 2. Call jetpack-forms/get-responses with status "publish" (the inbox) and per_page set to the user's number (default 30). 3. Flag a reply as likely spam only with a clear reason: sales pitches unrelated to the business, link-stuffed text, gibberish, or a fake-looking sender. When unsure, leave it in the inbox and say so. 4. Show the flagged replies as a list: sender, date, one line of the message, and your reason. Ask which ones to move. 5. Call jetpack-forms/bulk-update-responses with action "mark_as_spam" and only the ids the user approved. 6. Report the ids in succeeded and explain any in failed. ## Tools - `jetpack-forms/get-status-counts` (reads only, through `jetpack-remote-abilities`): Count replies in your inbox, spam, and trash. - `jetpack-forms/get-responses` (reads only, through `jetpack-remote-abilities`): Read and search the replies people sent through your forms. - `jetpack-forms/bulk-update-responses` (makes changes, through `jetpack-remote-abilities`): Mark many replies as spam, or not spam, at once. Run each tool through the WordPress.com MCP server tool named next to it, with `action: "execute"`, `operation` set to the tool name, `wpcom_site` and `params`. Set `user_confirmed: true` only after the user approves a change. ## Before you start - Free with Jetpack Forms. ## Safety Asks before moving anything. Spam can be moved back to the inbox later.