Skip to main content
Glama

Bulk moderate comments

moderate_comments

Batch approve, hold, spam, or trash WordPress comments in one request, with per-comment outcome reports to keep moderation queues moving.

Instructions

Approve, hold, spam or trash several comments in one call — the practical way to clear a moderation queue. Reports per-comment outcomes rather than failing the whole batch on one error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesComment IDs to act on.
actionYesWhat to do with each.
site_idNoWhich configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids.
Behavior4/5

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

The description discloses per-comment outcome reporting rather than whole-batch failure, a valuable behavioral detail not captured in the annotations. The annotations already indicate mutating (readOnly=false) and non-destructive actions, so the description adds the partial-success semantics. It does not contradict annotations.

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

Conciseness5/5

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

Two concise sentences that front-load the actions and add a key behavioral note. No redundant information; it's well-structured for quick consumption.

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

Completeness4/5

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

For a 3-parameter tool with full schema coverage and no output schema, the description covers the core behavior and even hints at the result format (per-comment outcomes). It doesn't address edge cases like authentication or site selection nuances, but those are covered by the schema. Overall it's sufficient for an agent to decide and call correctly.

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?

All three parameters have schema descriptions, so the schema fully documents them. The description does not add additional parameter-specific meaning beyond noting the batch nature (implied by 'several comments'). With 100% coverage, the baseline of 3 applies.

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?

The description states the exact actions (approve, hold, spam, trash) and the resource (comments) and explicitly says 'several comments in one call', which distinguishes it from single-comment tools like update_comment. The title 'Bulk moderate comments' reinforces this.

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?

It positions the tool as 'the practical way to clear a moderation queue', giving a clear use case for batch operations. However, it does not explicitly mention when not to use it or name alternative tools like update_comment for single actions, leaving some inference required.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alokemajumder/wpxmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server