Skip to main content
Glama
crunchtools

MCP WordPress CrunchTools

by crunchtools

wordpress_delete_media

Delete a WordPress media item permanently by providing its media ID and setting force to true. Removes the file and attachment record from your site.

Instructions

Delete a WordPress media item.

Args: media_id: Media ID to delete force: Must be true for media (media cannot be trashed)

Returns: Deletion confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
media_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It clearly states that media cannot be trashed, implying permanent deletion, and that force must be true, while also noting the return value. It does not mention permissions or side effects, but the key destructive behavior is covered.

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 concise and well-structured with clear sections for summary, arguments, and return value. The main purpose is front-loaded, and there is no filler or redundant content.

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

Completeness4/5

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

For a simple two-parameter delete operation, the description adequately covers the action, the required force flag, and the return confirmation. Since an output schema exists, detailed return-value documentation is not necessary, and the description is sufficiently complete.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It explains media_id's role and, more importantly, clarifies the force parameter's requirement ('Must be true for media'), adding meaningful context beyond the raw schema types.

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 opens with 'Delete a WordPress media item,' a specific verb+resource statement that clearly identifies the tool's function. It also distinguishes it from sibling tools like wordpress_delete_post, wordpress_delete_page, and wordpress_delete_comment.

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 provides useful invocation context by stating that media cannot be trashed and force must be true. However, it does not explicitly explain when to prefer this tool over alternatives or mention any exclusions.

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/crunchtools/mcp-wordpress'

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