Skip to main content
Glama

create_comment

Add a comment to a WordPress post, optionally as a threaded reply, with author details and moderation status.

Instructions

Create a new comment on a WordPress post

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "post": "<post>",
      "content": "<content>"
    },
    "name": "create_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYesPost ID to comment on
parentNoParent comment ID (for replies/threading)
statusNoComment status (default: approved)
contentYesComment content (HTML)
author_nameNoComment author display name
author_emailNoComment author email

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the mutation itself. It does not say whether the caller needs authentication or specific capabilities, whether the comment is immediately visible or held for moderation, whether an approval step is required, or what the tool returns (e.g., the new comment ID).

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?

A single, front-loaded sentence with no wasted words, which is structurally clean. It is however terse to the point of under-specification given the tool is an unannotated mutation.

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

Completeness2/5

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

For a six-parameter write operation with no annotations and no output schema, the description should say more than it does. Missing are the authentication/permission requirements, the effect of the status enum on visibility, threading behavior via parent, and what a successful response contains.

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 description coverage is 100%, so every parameter (post, parent, status, content, author_name, author_email) is already documented inline, and the description adds no format or syntax details beyond that. The baseline of 3 applies when the schema does the parameter work.

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?

States a specific verb and resource ("Create a new comment on a WordPress post"), which is enough to distinguish it from get_comments, update_comment and delete_comment by name alone. It stops short of explicitly positioning itself against those siblings, so a 4 rather than a 5.

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 usage is implied by the verb: use this when a new comment must be added to a post. There is no explicit when-to-use guidance, no mention of alternatives such as update_comment for existing comments, and no note about the moderation/default-status behavior that would let an agent choose correctly.

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