Skip to main content
Glama

royal-mcp__wp_create_comment

Destructive

Create a comment. Content may contain WordPress's standard comment HTML tags (, , , , , , , ) — matches what the WP comment form permits. Other tags are stripped. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.

Input Schema

NameRequiredDescriptionDefault
authorNoAuthor name to record. Only users who can moderate comments may set it; otherwise the comment is posted as the signed-in user.
contentYes
post_idYes
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
author_emailNoAuthor email to record. Only users who can moderate comments may set it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the safety bar is lower. The description still adds real information: unsupported tags are stripped, and the comment does not go live until a human approves it in Royally — a non-obvious moderation side effect an agent must know before calling.

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?

Three sentences, purpose front-loaded, with the HTML-stripping and moderation behaviors in descending order of importance. The inline "(site: demo.royalplugins.com)" parenthetical interrupts the flow and duplicates what the schema's site_id enum already states.

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

Completeness3/5

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

For a mutation tool with annotations and no output schema, the essential behavioral facts (moderation queue, HTML sanitization) are covered. However, nothing says what the call returns or how an agent should track a pending comment afterwards, which matters for a workflow that is explicitly not immediate.

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 60%; author, author_email and site_id are well documented in the schema itself. The description compensates for the undocumented `content` parameter by spelling out the HTML tag policy, but says nothing about `post_id` or the significance of required vs optional fields, so it is at the baseline rather than above it.

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

Purpose4/5

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

The description opens with a specific verb+resource ("Create a comment") and adds concrete scope: permitted HTML tags and the Royally approval gate. It is distinguishable from siblings like wp_approve_comment or wp_get_comments, though it never names an alternative directly.

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

Usage Guidelines3/5

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

The Royally sentence implies this is a staged/submitted comment rather than a live one, which shapes when an agent would choose it, but there is no explicit when-to-use, when-not-to-use, or comparison to siblings such as wp_approve_comment (which presumably completes the workflow).

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