Skip to main content
Glama

Reply to a comment

wp_reply_comment
Destructive

Add a comment to a post as the connected user: a reply to a comment (parent) or a new top-level comment. Each call adds one, so a repeated call posts it twice. It is saved approved and shows at once wherever the post's comments are public, under the user's display name, with the user's email address stored; WordPress sends none of its new-comment emails. HTML is filtered as in post content. Not checked: whether comments are open, and whether parent exists on that post. Returns {created: true, comment_id}. Needs moderate_comments. Existing comments are approved, held or deleted with wp_moderate_comment and wp_delete_comment. Forwarded by AlphaBridge Connect to the one site this connection reaches.

Input Schema

NameRequiredDescriptionDefault
parentNoId of the comment this replies to; not checked to exist or to belong to post_id. Default 0: a top-level comment.
contentYesComment text; HTML is filtered to what post content allows.
post_idYesId of the post the comment belongs to; for a reply, the post of the parent comment. A post that does not exist is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / content / description
      Added value: +"Comment text; HTML is filtered to what post content allows."
    • addedInput schema / properties / parent / default
      Added value: +0
    • changedInput schema / properties / parent / description
      Previous value: -"Parent comment id."New value: +"Id of the comment this replies to; not checked to exist or to belong to post_id. Default 0: a top-level comment."
    • addedInput schema / properties / post_id / description
      Added value: +"Id of the post the comment belongs to; for a reply, the post of the parent comment. A post that does not exist is refused."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: says the comment is saved already approved and publicly visible immediately, attributed to the user's display name with their email stored, that WordPress sends no notification emails, that HTML is filtered like post content, that comments-open and parent-existence are not checked, and that moderate_comments is required. It also corroborates idempotentHint=false with a concrete consequence (duplicate on repeat) and destructiveHint=true with the persistence side effect.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and mode distinction, then tightens with consequences. It is a dense single paragraph and the trailing 'Forwarded by AlphaBridge Connect to the one site this connection reaches' plus the return-shape sentence sit slightly awkwardly, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description supplies the return shape ({created: true, comment_id}), the permission required, the side effects, and the validation gaps. There is nothing an agent needs to call this correctly that is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parent/post_id/content semantics are already fully documented. The description restates the parent-not-validated caveat and the HTML filtering, which adds emphasis but no new syntax or format detail beyond the schema — baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Add a comment to a post as the connected user') and immediately disambiguates the two modes (reply to parent vs. top-level comment). An agent can tell this apart from wp_create_post, wp_moderate_comment and wp_delete_comment without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: creation here versus approval/removal via wp_moderate_comment and wp_delete_comment. It also warns that 'each call adds one, so a repeated call posts it twice', which tells the agent not to retry blindly — a real usage constraint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources