Skip to main content
Glama

wp_update_page

Update an existing WordPress page by site and page ID, with optional changes to title, HTML content, status, parent, or menu order.

Instructions

Update an existing page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPage ID
siteYesSite id (see list_sites)
titleNoPage title
parentNoParent page ID
statusNoPage status
contentNoPage content (HTML)
menu_orderNoMenu order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "site",
      +  "id"
      +]
  2. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden, yet it only implies a mutation via 'Update'. It does not disclose authorization requirements, whether omitted fields are preserved or cleared, how the 'status' enum (including 'trash') affects deletion, or what happens on invalid IDs.

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?

The description is a single, front-loaded phrase with zero wasted words. It is efficient, though it does not attempt to structure or convey any supplementary context.

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 no annotations and no output schema, the description is incomplete. It omits critical behavioral context such as authentication, partial-update semantics, side effects of status changes, and return behavior, leaving the agent to infer too much.

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 all seven parameters are already documented in the input schema, including the site reference and status enum. The description adds no additional parameter meaning, but the baseline of 3 is appropriate when the schema fully covers the fields.

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 ('Update an existing page'), which clearly separates it from wp_create_page and wp_delete_page. It does not explicitly differentiate from closely related siblings like wp_update_post or wp_update_cpt_post, but the resource noun is specific enough for an agent to select it.

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?

No when-to-use guidance, prerequisites, or alternatives are provided. The phrase 'existing page' hints that it is for modifying rather than creating, but there is no explicit instruction on when to choose this over wp_update_post or how to handle missing pages.

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

Deploy Server

Other Tools