Skip to main content
Glama
pebblehost-mcp
by numycode

Delete files or folders

delete_files
DestructiveIdempotent

Delete files or folders on a PebbleHost Minecraft server, moving them to a 24-hour trash bin by default or removing them permanently when specified.

Instructions

DESTRUCTIVE: deletes files or folders. By default PebbleHost moves them to a trash bin where restore_files can bring them back within 24 hours; permanent skips the trash and cannot be undone.

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": {
      "paths": "<paths>"
    },
    "name": "delete_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesPaths to delete, relative to the server root.
serverNoServer identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set.
permanentNoDelete permanently instead of moving to the trash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

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, but the description adds information the annotations cannot convey: the 24-hour trash bin window and the named recovery tool. It still does not state whether folder deletion is recursive, what happens on partial failure with multiple paths, or permission requirements, leaving some behavioral gaps.

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 tight sentences, with the destructive warning front-loaded and the default-versus-permanent contrast immediately after. No filler or redundancy.

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 three-parameter deletion tool with full schema coverage and destructive/idempotent annotations, the description supplies the one thing the structured data lacks: reversibility and its time limit. Nothing essential for calling it safely is missing.

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 coverage is 100%, so all three parameters are already documented, including the trash-versus-permanent behavior of `permanent`. The description restates that consequence ('cannot be undone') with slightly stronger emphasis but adds no new syntax or constraint detail, so the 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?

The description opens with a specific verb plus resource ('deletes files or folders') and immediately names the sibling that reverses it (restore_files), letting an agent distinguish this from delete_backup or delete_schedule without opening any schema.

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?

It clearly frames the default (trash, restorable within 24 hours) versus `permanent` (irreversible), which is exactly the when-to-use decision an agent must make, and points at restore_files as the recovery alternative. It does not explicitly exclude or contrast with other delete_* siblings, so it stops short of full routing guidance.

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