Skip to main content
Glama

delete_file

Destructive

Permanently delete a server file only for explicit deletion requests; this destructive action requires file-write and destructive permissions enabled.

Instructions

Permanently delete a server file. Use only for an explicit deletion request; this is destructive and requires both WISP_ALLOW_FILE_WRITES and WISP_ALLOW_DESTRUCTIVE.

Input Schema

NameRequiredDescriptionDefault
pathYesPath in the selected server filesystem, starting from its root.
server_idNoWisp server ID. Omit to use the configured WISP_SERVER_ID default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.4.2
    • addedInput schema / properties / path / description
      Added value: +"Path in the selected server filesystem, starting from its root."
    • addedInput schema / properties / server_id / description
      Added value: +"Wisp server ID. Omit to use the configured WISP_SERVER_ID default."
  2. First observedv1.4.1

TDQS

A4/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, so the description earns credit for adding beyond them: it discloses permanence/irreversibility and names the two required capability flags (WISP_ALLOW_FILE_WRITES, WISP_ALLOW_DESTRUCTIVE) that gate execution. It does not say how a missing path is handled, which matters given idempotentHint=false.

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 sentences with zero filler, front-loading the action and then the usage constraint and prerequisites. Every clause carries decision-relevant information.

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 two-parameter, single-resource deletion tool with full schema coverage and no output schema, the description covers purpose, caution, and prerequisites adequately. Minor gap: no mention of success/failure behavior or whether deletion of a nonexistent file errors.

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 both path and server_id are already fully documented in the schema. The description adds no syntax, path-resolution, or defaulting detail beyond what the structured fields provide, so baseline 3 applies.

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 and resource: 'Permanently delete a server file,' with 'permanently' scoping the operation. It is clearly distinguishable from siblings like delete_backup or delete_database by the 'server file' resource, though it never names those siblings explicitly.

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?

'Use only for an explicit deletion request' gives a genuine gating condition and implicitly warns against speculative or bulk cleanup use. However, it does not point to an alternative for non-destructive cleanup or state what to do if the intent is ambiguous.

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