Skip to main content
Glama

WordPress: Create comment

wordpress_create_comment

Creates a new WordPress post comment with author details and moderation status, letting AI assistants add feedback or replies to a specific post.

Instructions

[UNIFIED] Create a new WordPress comment on a post. Supports author information and moderation status.

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": {
      "site": "<site>",
      "post_id": "<post_id>",
      "content": "<content>"
    },
    "name": "wordpress_create_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
statusNohold
contentYes
post_idYes
author_nameNo
author_emailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.13.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv3.4.0

TDQS

B3.1/5.0
Behavior2/5

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

The annotations already disclose that this tool writes data and is not idempotent; the description adds nothing beyond that. It does not say whether the comment appears immediately or stays in a moderation queue, what the default status is, or whether the caller needs specific capabilities. 'Supports moderation status' is a feature list rather than behavioral context.

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?

Two short sentences, with the core purpose stated first and the capability note second. Nothing is wasted. The '[UNIFIED]' prefix is a minor noise token that does not help the agent choose or call the tool.

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?

This is a mutation tool with six parameters, no descriptions in the schema, and no output schema. Completeness therefore depends on the description, which does not cover required parameter formats, status values, or what a successful call returns. It is too thin for the tool's complexity.

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

Parameters2/5

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

Schema description coverage is 0% and there are six parameters. The description mentions 'author information' and 'moderation status', which loosely map to author_name, author_email, and status, but it never explains the default 'hold', the allowed status values, or what 'site' expects. Three required parameters (site, post_id, content) are left entirely undocumented.

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 WordPress comment on a post.' An agent can immediately grasp the operation. It does not contrast itself with wordpress_update_comment or wordpress_delete_comment, so it stops short of full sibling differentiation.

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

Usage Guidelines4/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as authentication or the need for a valid post_id before commenting. The verb 'create' combined with 'on a post' makes the intended context obvious enough that an agent can infer usage, but it has to supply the context itself.

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

Deploy Server

Other Tools