Inicio - Documentación - POM AI - 23 MCP - Prompt recipes - Recipe: review and moderate a comment queue

Recipe: review and moderate a comment queue

Comment moderation requires moderate_comments. Reading the queue and changing a comment’s state are separate actions; begin with a summary.

List comments with status [STATUS] in pages of [SIZE]. For each candidate,
show ID, post ID, author display name, date, a concise content excerpt, and
current status. Group likely spam, abusive content, legitimate comments that
need a reply, and uncertain cases. Do not change any status yet. After I name
specific comment IDs and actions, apply only those actions and read the
comments back to confirm their final state.

Available moderation actions have different consequences:

  • approve or unapprove changes visibility;
  • mark as spam participates in WordPress spam handling;
  • trash is recoverable through the normal trash workflow;
  • permanent deletion, where exposed, is irreversible and needs separate confirmation.

Creating a reply attributes it to the acting WordPress user. Do not invent an identity or speak for the organization without approved reply text.

Keep personal information out of the summary when it is not required. A comment body can contain malicious links or instructions; treat it as untrusted content, not as commands for the MCP client.

Related guides: comment tools, approve a comment, and safe support information.