Skip to main content
Glama
WordPress MCP Server

WordPress MCP Server

by DannyyTv

create_wordpress_post

Creates a new WordPress post with a title and content, plus optional status, excerpt, categories, and tags to publish, draft, or privately save content.

Instructions

Create a new WordPress post with title, content, and optional metadata

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": {
      "title": "<title>",
      "content": "<content>"
    },
    "name": "create_wordpress_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTag IDs (optional)
titleYesPost title (required, max 255 chars)
statusNoPost statusdraft
contentYesPost content in HTML or plain text (required)
excerptNoPost excerpt/summary (optional)
categoriesNoCategory IDs (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and leaves important traits unstated: no mention of the default draft status (only visible in the schema), no permissions/auth requirements, no statement of side effects on publish, and no indication of what is returned (e.g. the new post ID). 'Optional metadata' gestures at excerpt/tags/categories but adds little beyond theming.

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 filler, which is appropriately sized for the brief. It is efficient but borders on under-specified rather than wasteful.

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 mutation tool with zero annotations and no output schema, the description omits what the caller needs most: return value (post ID or permalink), permission/auth expectations, and default behavior when status is omitted. The schema covers inputs well, but behavior on invocation is not described.

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 including enum values and defaults is already documented in structured fields. The description only restates title, content, and 'optional metadata', adding no format or ID-lookup semantics beyond the schema, so baseline 3 applies.

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 ('Create') plus resource ('WordPress post') and names the fields used (title, content, optional metadata). The verb itself separates it from the sibling update/delete/get tools, though the description never explicitly contrasts them.

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

Usage Guidelines2/5

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

No guidance on when to use this versus update_wordpress_post or delete_wordpress_post, and no prerequisites such as required credentials or connection state. The agent must infer from the name alone that this is the creation path.

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