Reply to Comment
Posts an admin reply to an existing comment, given the parent comment ID and the reply content. The reply is authored as the current user and auto-approved.
| Property | Value |
|---|---|
| Ability slug | mosmcp/reply-to-comment |
| Wire tool name | mosmcp__reply-to-comment |
| Category | Comments (mosmcp-comments) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | moderate_comments |
| Minimum default role | Editor |
| Annotations | readOnly: false · destructive: false · idempotent: false · openWorld: true |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The parent comment ID to reply to (required). |
| content | string | Yes | — | The reply text (required). |
Output schema
| Field | Type | Required |
|---|---|---|
| id | integer | Yes |
| post_id | integer | Yes |
| parent_id | integer | |
| author_name | string | |
| author_email | string | |
| author_url | string | |
| content | string | Yes |
| status | string | Yes |
| date | string |
Example
Sample prompt
Reply to comment 931 saying 'Yes, we ship to Canada - delivery takes 5-7 days.'
Example request (json)
{
"jsonrpc": "2.0",
"id": 126,
"method": "tools/call",
"params": {
"name": "mosmcp__reply-to-comment",
"arguments": {
"input": {
"id": 931,
"content": "Yes, we ship to Canada - delivery takes 5-7 days."
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 126,
"result": {
"isError": false,
"structuredContent": {
"id": 950,
"post_id": 42,
"parent_id": 931,
"author_name": "Jane Doe",
"author_email": "jane@example.com",
"author_url": "https://example.com",
"content": "Yes, we ship to Canada - delivery takes 5-7 days.",
"status": "approved",
"date": "2026-09-29 11:02:45"
}
}
}
Edge cases / errors
- Parent comment id does not exist → error mosmcp_comment_not_found.
- content blank or whitespace only → error mosmcp_missing_content; otherwise it is filtered to post-safe HTML.
- The reply is posted on the same post as the parent, authored as the connected account (name, email, URL) and approved immediately.
- Identical reply already posted, or comment flooding detected → WordPress's duplicate/flood error is returned and nothing is posted.
| << Previous | Next >> |
|---|---|
| Permanently Delete Comment | Search Comments |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.