← Back to Tools Reference

wp_get_comment

Read-only

Description

Use this tool to retrieve the full details of a specific comment, including the content, author, date, post it belongs to, and approval status. Your AI uses this to review the comment before deciding whether to approve, edit, spam, or delete it.

See it in action

Claude Desktop — MCP Connection
👤
Get the details of the most recent comment on the 'Product Launch' post.
🤖
Calling Tool: wp_get_comment
Done! I've used wp_get_comment to complete that for you.
{"status": "success"}

Example Use Cases & Sample Prompts

  1. Reviewing before editing
    • Prompt: “Get the details of the most recent comment on the ‘Product Launch’ post.”
  2. Spam verification
    • Prompt: “Fetch comment ID 45 so I can read it and decide if it should be marked as spam.”
  3. Author information check
    • Prompt: “Pull up this comment to see the author’s email and IP — I need to verify it’s not automated.”
  4. Content audit
    • Prompt: “Retrieve the top 5 comments on our most popular post so I can see what readers are saying.”
  5. Moderation review
    • Prompt: “Get this flagged comment so I can review its content before deciding whether to trash it.”

Access this tool today

Install the Easy MCP AI plugin to securely expose wp_get_comment to Claude, ChatGPT, and more.

Download Plugin