Skip to main content
Glama

Trash Post

wp_trash_post
Destructive

Move a WordPress post to trash. This does NOT permanently delete — the post can be recovered from trash within 30 days. Use dry_run=true to preview what will be trashed without executing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe post ID to trash
dry_runNoIf true, shows what would be trashed without actually doing it
site_idNoSite ID to target (optional if you have only one connected site)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false. The description adds valuable behavioral context beyond the annotations by clarifying this is non-permanent, recoverable within 30 days, and previewable via dry_run. It does not cover permissions or rate limits, so not a 5.

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?

Three tightly written sentences with zero waste: the action, the non-permanent behavior, and the dry_run option. The core action is front-loaded.

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

Completeness5/5

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

For a simple trash operation with full schema coverage and annotations, the description covers what it does, its recoverable nature, and the dry_run preview. No output schema exists, so return values need not be explained.

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 the schema fully documents id, dry_run, and site_id. The description only reinforces dry_run usage, adding no new syntax or meaning beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource: 'Move a WordPress post to trash.' It distinguishes itself from sibling tools like wp_trash_page and woo_trash_product by specifying the post resource, so an agent can identify it without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear context: use this to trash a post, and use dry_run=true to preview without executing. It does not name explicit alternatives or exclusions, but no direct alternative is needed since it targets a distinct resource.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources