Skip to main content
Glama
TXAVLOG
by TXAVLOG

delete_file

Delete a specified file by providing its path. Requires explicit user approval to remove files outside the project root, preventing accidental data loss.

Instructions

Delete a file (Use with caution).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath of file to delete
allow_external_accessNoSet to true to allow deleting files outside the project root. User must explicitly approve this action.
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. The only warning, 'Use with caution', hints at destructiveness but does not disclose permanence, irreversibility, permission requirements, or side effects. It fails to detail what happens after deletion or any scope limitations.

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?

The description is a single sentence with no wasted words. 'Delete a file' is front-loaded and the cautionary note 'Use with caution' is concise yet valuable as a risk indicator.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation tool with no annotations and no output schema, the description is too sparse. It lacks success/failure behavior, scope restrictions, irreversibility caveats, and any mention of the allow_external_access approval flow. The schema covers parameters, but the overall behavioral context is under-specified.

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?

Both parameters (filePath and allow_external_access) are fully described in the input schema with 100% coverage, so the description adds no additional meaning. The description is silent on parameter usage, but per the rubric baseline for high schema coverage is 3.

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 clearly states the action ('Delete') and the resource ('a file'), which is unambiguous and distinguishes it from sibling tools like read_file, write_file, replace_in_file, and edit_code. The verb+resource structure is specific and immediately understandable.

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 guidance on when to use this tool versus alternatives. It does not mention prerequisites, exclusions, or specific scenarios where deletion is appropriate, aside from a generic 'Use with caution' warning that does not clarify tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TXAVLOG/txamcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server