Skip to main content
Glama

publish_page

Immediately make a draft or pending WordPress page live by ID, enabling quick release of held content without manual dashboard steps.

Instructions

Publish a draft or pending page immediately

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": {
      "id": "<id>"
    },
    "name": "publish_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPage ID to publish

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the state transition and that it happens immediately, but says nothing about required permissions, irreversibility or how to unpublish, error behavior on already-published pages, or side effects like cache/CDN invalidation.

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 short sentence with no filler and the key qualifier ('draft or pending', 'immediately') front-loaded. It is efficient, though the terseness leaves behavioral gaps noted elsewhere.

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 definition is thin: an agent cannot learn what a successful publish returns, what errors to expect, or whether the action can be reverted. The precondition wording helps, but the mutation's consequences remain undescribed.

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?

Only one parameter and schema description coverage is 100%, so the schema already explains that 'id' is the page ID to publish. The description's contribution is the precondition on the page's state, not the parameter, 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 (publish) and resource (page), and adds the precondition states 'draft or pending', which tells an agent the target page's current state. It implicitly separates itself from publish_post by resource name, but never explicitly distinguishes it from that sibling.

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?

'Publish a draft or pending page immediately' implies usage (call it on an unpublished page) but gives no explicit when-to-use/when-not guidance, no mention of alternatives such as publish_post or update_page, and no statement of what happens if the page is already published.

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