Skip to main content
Glama

Publish Post

publish_post

Publish a draft WordPress post by providing its post ID to make it live immediately.

Instructions

Publish a draft post to WordPress (make it live).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
postIdYesThe post ID to publish

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesUse get_job to poll status

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.4
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "jobId": {
      +      "description": "Use get_job to poll status",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "jobId"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already indicate this is not read-only and not destructive. The description adds the key behavioral detail that the post transitions from draft to live, which is useful. It does not mention prerequisites, failure conditions, or side effects, but for this simple operation the added context is adequate.

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 a single, front-loaded sentence that states the action and outcome with no filler. Every word earns its place.

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

Completeness5/5

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

With one fully documented parameter, annotations, and an output schema present, the description is sufficient for an agent to select and invoke this tool correctly. No critical contextual information 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 description coverage is 100% and the sole parameter, postId, is already documented as 'The post ID to publish'. The description adds the draft-to-live context but does not meaningfully extend the parameter semantics.

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?

The description clearly identifies the action ('Publish'), the resource ('a draft post to WordPress'), and the effect ('make it live'). It distinguishes the tool from create_post and update_post, though it does not explicitly differentiate it from the sibling direct_publish.

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?

The description gives no guidance on when to use this tool instead of alternatives. In particular, the presence of direct_publish as a sibling makes this a meaningful gap, since an agent cannot tell which publishing workflow to choose.

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