Skip to main content
Glama

delete_files

Destructive

Permanently delete one or more files or directories on a Pterodactyl server using relative paths, enabling cleanup or removal of unwanted server data.

Instructions

Permanently delete one or more files or directories on the server.

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

Input Schema

NameRequiredDescriptionDefault
rootNoBase directory path (default '/')
filesYesFile or folder names relative to root
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally; the description's contribution is stressing that deletion is permanent, which is meaningful added context beyond the annotation. It does not disclose whether deletion is recursive for directories, whether a missing path errors or is silently ignored, or what permissions are required.

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 wasted words; the destructive qualifier 'Permanently' appears early where it matters most. Slight under-specification rather than verbosity is the issue.

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 three-parameter mutation with no output schema, the definition covers the what but not the failure modes: behavior on nonexistent paths, recursive directory handling, and error/return shape are all unstated. Annotations carry the safety burden, so this is adequate but not complete.

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 root, files, and server_id are already documented in the schema. The description only echoes the shape of the inputs ('one or more files or directories'), adding no format, path-resolution, or batching semantics beyond the schema.

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 states a specific verb plus resource and scope: 'Permanently delete one or more files or directories on the server.' An agent can immediately tell this is a destructive filesystem operation rather than an account or infrastructure deletion like the delete_allocation or delete_backup siblings, though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to call this versus alternatives such as decompress_file or rename_files, and no prerequisites or exclusions are stated. Only the single word 'Permanently' hints at the caution an agent should exercise, leaving usage decisions entirely to inference.

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