Skip to main content
Glama

arno.delete_file

Destructive

Delete a specific file by path; the operation fails if the file does not exist and can be reversed by reverting to an earlier checkpoint. Use this action when a file should be removed without deleting a directory.

Instructions

Delete a file, not a directory; fails if it does not exist. Reverting to an earlier checkpoint recreates it. To edit content use replace_text or apply.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFile path to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.12

TDQS

A4.7/5.0
Behavior5/5

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

The annotations only declare destructiveHint, but the description adds non-obvious behavioral details: it rejects directories, fails if the file is absent, and can be reverted via checkpoint recreation. These details meaningfully inform risk and recovery expectations.

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?

Three short sentences deliver the core action first, followed by a failure condition, undo behavior, and relevant alternatives. Every sentence earns its place and there is no redundant wording.

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 simple one-parameter destructive tool with no output schema, the description covers the operation, failure behavior, recovery path, and alternatives. Nothing necessary for correct invocation 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?

The schema already provides full coverage for the single path parameter with 'File path to delete', and the description adds no additional path-specific semantics. Since schema coverage is 100%, a baseline of 3 is appropriate.

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 the precise operation and resource, 'Delete a file', then immediately clarifies 'not a directory' and the failure condition when the file does not exist. This makes the tool's purpose unambiguous and distinguishes it from sibling tools without requiring schema inspection.

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

Usage Guidelines5/5

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

It explicitly states when not to use the tool by excluding directories and content editing, and names the alternatives for editing: replace_text or apply. This gives an agent clear routing guidance beyond the tool's basic purpose.

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