Skip to main content
Glama

wp_update_post

Update an existing WordPress post by ID, changing its title, content, or status. Requires WP credentials (username and app password) to perform the edit.

Instructions

Update an existing WordPress post. Requires WP_USERNAME/WP_APP_PASSWORD to be configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
titleNo
statusNo
contentNo
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It discloses the authentication requirement (WP_USERNAME/WP_APP_PASSWORD) and implies a mutation, but it does not explain partial-update semantics, error behavior, or consequences of changing fields.

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 two sentences with no filler. The primary purpose is front-loaded, and the credential requirement is a necessary and concise addition.

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 too sparse. It fails to explain how partial updates work, what status values are valid, what errors may occur, or what the response contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description gives no information about the id, title, status, or content parameters. The description does not compensate for the schema's lack of parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Update an existing WordPress post.' It clearly distinguishes this from siblings like wp_create_post, wp_get_post, and wp_delete_post by emphasizing 'existing' and 'Update.'

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?

The usage is implied but not explicit: an agent can infer that this tool is for modifying an already-created WordPress post, but the description does not explicitly mention when to choose it over wp_create_post or other alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gs4lthung/claude-wp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server