wp_delete_post
Delete a WordPress post by ID to remove outdated or unwanted content from a WordPress site.
Instructions
Delete a WordPress post by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID |
Delete a WordPress post by ID to remove outdated or unwanted content from a WordPress site.
Delete a WordPress post by ID
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden for behavioral disclosure. It implies a destructive action via 'Delete' but does not say whether the post is moved to trash or permanently removed, what permissions are required, or whether the operation is reversible.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It is appropriately sized for a simple one-parameter tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of annotations and an output schema, the description should explain key behavioral details for a delete operation, such as whether deletion is permanent or to trash, and any permission requirements. These are missing, leaving the agent without enough context for safe invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has one parameter and schema description coverage is 100%, so the schema already fully documents 'id'. The phrase 'by ID' adds no meaning beyond the schema, making the baseline of 3 appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Delete') and resource ('WordPress post') with an ID qualifier. It clearly distinguishes this tool from sibling delete operations for pages, media, categories, tags, and users by naming the resource.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no indication of when to use this tool versus alternatives (e.g., trash vs permanent deletion, batch deletion, or restoring). No prerequisites or exclusions are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.