A WordPress plugin demonstrating MCP Adapter integration and implementation patterns, exposing WordPress abilities as MCP tools via REST API
This WordPress MCP adapter demonstrates solid foundational patterns but has significant gaps in schema completeness, parameter documentation, and error handling guidance. Of the 3 visible tools, all have clear verb-based naming (list-, approve-, create-) and adequate high-level descriptions (119-155 chars, within the 10-1024 target). However, only 1 of 3 tools has complete input schemas with all parameters described. The approve-comment and create-comment tools expose rich parameter sets but lack descriptions for several parameters (e.g., 'comment_type', 'comment_meta' in create-comment). Output schemas are not documented in any tool. The test file confirms tools are registered in the MCP server (test_tools_registration verifies 'core-list-block-types' and others), but actual tool implementations are not visible in the provided source, making definitive schema validation impossible for tools beyond core/list-block-types. Error handling is rudimentary, no recovery guidance, no categorization of retryable vs fatal errors, and no actionable error messages documented.
Moderate WordPress comments by changing their approval status.
Create a new WordPress comment on a post.
Return available Gutenberg blocks with descriptions and attribute schemas. Use this before creating/updating posts to get valid block names and attributes for block comments.
Output schemas not documented for any tool. LLMs cannot plan downstream calls or extract required data without knowing return structure.
Parameter 'comment_type' in core/create-comment has no description. LLMs cannot determine valid values or purpose.
Parameter 'comment_meta' in core/create-comment is vague ('Comment metadata as key-value pairs'). No guidance on valid keys, format, constraints, or examples of usage. Forces LLM to guess.
No error handling documentation across any tool. No recovery guidance (e.g., 'If comment creation fails due to spam filter, try setting comment_approved=spam first'). No error categorization (retryable vs fatal). No actionable error messages.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 58 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 17 | - | v1 |
core/approve-comment and core/create-comment are destructive (WRITE operations on comments) but lack confirmation or dry-run pattern. No documentation that these are irreversible state changes. Agents may accidentally approve spam or create unintended comments.
No idempotency declarations. create-comment is likely non-idempotent (duplicate calls create duplicate comments), but this is not stated. Agents retrying on network failures will create duplicates.
Tool implementations not visible in source. Only tool metadata (names, descriptions, schemas) are shown in the requirements. Cannot verify actual parameter validation, error handling, or security controls in implementation.
category parameter in core/list-block-types has no enum or format constraint. Should declare valid block categories (e.g., text, media, design, widgets, embed) to guide LLM input and enable early validation.