Skip to main content
Glama

modx_empty_recycle_bin

Permanently purges all trashed resources in MODX, removing soft-deleted items from the recycle bin. Use it to clear deleted content when irreversible cleanup is needed.

Instructions

Permanently purge ALL trashed (soft-deleted) resources. Irreversible — there is no further undo.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "modx_empty_recycle_bin"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the two most critical traits: the operation is permanent and irreversible, and it affects every trashed resource rather than a selected subset. It omits operational context such as required permissions or whether any confirmation step exists, keeping it out of the top band.

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?

Two short sentences with zero waste. The destructive scope is front-loaded and the irreversibility warning follows immediately, which is exactly the right ordering for a dangerous operation.

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 zero-parameter, no-annotation, no-output-schema tool, the definition covers what it does, how much it affects, and the risk. A note on permissions or prerequisites would close the remaining gap, but an agent has enough to act safely.

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?

The tool takes zero parameters, so the schema is trivially complete and there is nothing for the description to clarify. Baseline of 4 applies; no parameter detail is needed or missing.

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?

States a specific verb ('purge'), resource ('trashed/soft-deleted resources'), and scope ('ALL'), which is enough for an agent to distinguish it from the sibling modx_undelete_resource. It does not explicitly name that sibling as the alternative, so it falls short of the top mark.

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 implies the usage condition (when trashed resources should be permanently removed) and warns about irreversibility, but gives no explicit when-not guidance and never points to modx_undelete_resource as the reversible alternative. Usage is inferable rather than stated.

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

Deploy Server

Other Tools