Skip to main content
Glama

Publish to WordPress

publish_to_wordpress

Publish HTML to a WordPress site using the site's Application Password. Creates a post with the given title and HTML body. status is draft, publish, or pending. Default is draft. Needs a free StartupHub.ai account.

Input Schema

NameRequiredDescriptionDefault
tagsNoTag names (created in WP if missing). Max 30.
titleYesArticle title (becomes the post title in WP)
statusNoDefault 'draft'. Use 'publish' to go live immediately, 'pending' to queue for editor review.
excerptNoOptional WP excerpt (manual excerpt overrides WP's auto-generated one).
site_urlYesWordPress site URL, e.g. 'https://blog.example.com'. https:// is auto-added if missing.
usernameYesWordPress username (the one shown in /wp-admin → Users)
categoriesNoCategory names (created in WP if missing). Max 10.
content_htmlYesFull article body as HTML. Will land verbatim in the WP block editor.
featured_image_urlNoOptional public URL of an image to sideload to WP media and attach as the featured image.
application_passwordYesApplication Password generated at /wp-admin/profile.php → Application Passwords. NOT the user's login password. 24 chars with spaces: paste as-is, we strip the spaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish the safe-mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true). The description adds genuinely new context: authentication via Application Password, the external StartupHub account requirement, and that 'publish' goes live immediately — useful side-effect disclosure beyond the annotations.

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?

Five short sentences, purpose first, with the prerequisite and default trailing. Efficient, but the status enumeration in the description duplicates the schema's own enum/default documentation, which is mildly redundant.

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

Completeness3/5

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

For a ten-parameter content-creation tool with no output schema, the description omits what the call returns (post ID, URL, or failure modes), which is the main missing piece an agent would need. Auth, credentials, and default status are covered adequately.

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 the schema already documents all ten parameters in detail, including enum values, defaults, and format hints. The description only restates the status enum and default, adding no meaning the schema lacks; 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 and resource: 'Publish HTML to a WordPress site' and 'Creates a post with the given title and HTML body'. No sibling tool targets WordPress, so it is functionally distinguishable, though it never explicitly contrasts itself with the submit_* family that also creates published content.

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

Usage Guidelines3/5

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

It surfaces the account prerequisite ('Needs a free StartupHub.ai account') and the three status values with the default, which implies usage context. However there is no guidance on when to prefer this over other content submissions or what preconditions (validated credentials, existing site) must hold.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources