Skip to main content
Glama

wp_delete_post

Move a WordPress post to trash by providing the post ID and confirmation. Optionally force permanent deletion.

Instructions

Delete a WordPress post (moves to trash by default)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
forceNo
confirmYesMust be true to confirm deletion
Behavior2/5

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

No annotations exist, so the description must cover behavior. It mentions default trash behavior but does not explain what force=true does (e.g., permanent delete), return values, or error handling. This leaves significant gaps for an agent.

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 sentence with no superfluous words. It is efficiently front-loaded with the key action and default behavior.

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?

The tool has 3 parameters (2 required), no output schema, and no annotations. The description lacks information on error conditions, permissions, and what the return value indicates. For a deletion tool, this is insufficient for safe and correct invocation.

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 only 33% (confirm has description). The description adds context about trash behavior, which relates to force, but does not explain id or force semantics in detail. With low coverage, description partially compensates but not fully.

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 clearly states 'Delete a WordPress post' with a specific verb and resource. It also notes the default behavior (moves to trash), which distinguishes it from sibling tools like wp_delete_page or wp_delete_tag.

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 description hints at default behavior (trash) but does not explicitly state when to use vs alternatives like wp_batch_operations or when to set force=true. No guidance on prerequisites or permissions is provided.

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/mpierre135/wp-mcp-control-server'

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