Skip to main content
Glama

Publish an article to WordPress

publish_article
DestructiveIdempotent

Publish (or save as draft) a previously generated article to its WordPress site. Only works for WordPress sites — Framer/Webflow sites are copy-paste only (Beta) and are not supported here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteIdYesThe WordPress site id to publish to
statusNopublish
articleIdYesThe article id, from generate_article or list_articles

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds useful platform scoping and the draft-vs-publish choice, but says nothing about side effects, permissions, or what publishing overwrites on the target site.

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 tight sentences: the action and its draft variant come first, then the platform restriction. Every clause carries information, including the (Beta) qualifier that explains why the exclusion exists.

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 three-parameter mutation tool with no output schema and full annotation coverage, the description supplies the essential preconditions (article must be pre-generated, WordPress-only). It omits any note about the response or what happens to the published post, but nothing critical to correct invocation is missing.

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 coverage is 67%, with siteId and articleId already documented in the schema (including the generate_article/list_articles provenance hint). The description only implicitly maps to the status parameter via 'or save as draft' and adds no format or default details beyond the schema's enum and default.

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 (publish) plus resource (article) and the target platform (WordPress), and clarifies the draft alternative. It does not distinguish itself from the close sibling schedule_article, which an agent could easily confuse with immediate publishing.

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?

Gives an explicit when-not condition: WordPress only, Framer/Webflow unsupported. It also implies the article must already exist ('previously generated'). It stops short of routing to alternatives such as schedule_article for future-dated publishing.

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