Skip to main content
Glama

wp_create_content

Bulk-create WordPress posts or pages from block-based content, with optional SEO meta, dry-run preview, and duplicate slug skipping.

Instructions

Bulk-create posts/pages, rendered into the site's builder (Divi 4 / Gutenberg).

Each item: {title, blocks:[...], slug?, status?}. Blocks are builder-agnostic: {kind:'heading',level,text} | {kind:'paragraph',text} | {kind:'button',text,url} | {kind:'image',url,alt?} (use the url returned by wp_upload_media). Optional seo (an object: title/description/canonical/noindex) is applied to every created item's meta (REST transport only). DEFAULTS TO dry_run=true (returns a per-item plan + a seo_preview; writes nothing). Pass dry_run=false to apply. Idempotent: existing slugs are skipped. Requires a profile (run wp_discover_site first). Prod writes require allow_prod=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seoNo
itemsYes
dry_runNo
installYes
post_typeNopage
allow_prodNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.4.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full safety burden. It explicitly states that dry_run writes nothing, that existing slugs are skipped (idempotent), and that prod writes require allow_prod=true. This is strong transparency for a tool that can create content.

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?

The description is dense but well organized, with each sentence serving a clear purpose. The block type enumeration is necessary detail and does not feel padded.

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?

The description covers the critical workflow: dry-run behavior, item structure, SEO mapping, idempotence, and production safety. It does not describe the non-dry-run success response shape or elaborate on post_type, but it gives enough context for an agent to invoke the tool safely.

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

Parameters4/5

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

The description explains items, seo, dry_run, and allow_prod in detail, and connects install to the required profile discovery. It does not explicitly define post_type beyond the schema default of 'page', leaving a small semantic gap.

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 clearly states the tool bulk-creates posts/pages and even specifies the builder context (Divi 4 / Gutenberg). It is distinct from sibling tools like wp_edit_page or wp_get_content by focusing on creation and bulk behavior.

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?

The description gives practical usage guidance: run wp_discover_site first, dry_run is the default, and allow_prod is required for production writes. It does not explicitly name an alternative tool for single-item creation, but the context of bulk creation is clear enough.

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

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/ad02/wp-ops-mcp'

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