Skip to main content
Glama
WordPress MCP Server

WordPress MCP Server

by DannyyTv

delete_wordpress_post

Remove a WordPress post by ID, choosing to move it to trash or permanently delete it.

Instructions

Delete a WordPress post (move to trash or permanently delete)

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": "delete_wordpress_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID to delete (required)
forceNoPermanently delete (true) or move to trash (false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does convey the meaningful distinction that deletion can be reversible (trash) or permanent. However, it omits required permissions/capabilities, whether related data (comments, media, revisions) is affected, and what happens if the ID does not exist — significant gaps for a destructive tool with zero annotation coverage.

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 front-loaded sentence with no filler; the two deletion modes are surfaced immediately. It is efficient, though extremely terse given the destructive nature of the operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter destructive tool with no annotations and no output schema, the core semantics are covered by the fully documented schema. Missing are permission requirements, irreversibility warnings, and error behavior, which an agent would want before invoking a delete.

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%, and the schema already spells out both id and force including the default and the true/false meaning. The description adds no parameter-level detail beyond restating the force semantics, 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?

The description gives a specific verb+resource ("Delete a WordPress post") and clarifies the two deletion modes. It is easily distinguished from siblings like update_wordpress_post or get_wordpress_post by the verb, though it does not explicitly name an alternative.

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 parenthetical names the two modes (trash vs permanent), which implies the force=false is the safer default, but it never says when to prefer one over the other or warns that permanent deletion is irreversible. Usage is implied rather than stated.

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