delete_file
Deletes a file at the given path, removing it from the local system to free space and clean up directories.
Instructions
Delete a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path. |
Deletes a file at the given path, removing it from the local system to free space and clean up directories.
Delete a file.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path. |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
v1.0.0Does 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. 'Delete a file' only restates the tool's name and gives no information about irreversibility, permissions, directory handling, or failure behavior—critical gaps for a destructive operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, waste-free sentence, appropriately compact for a one-parameter tool. It is front-loaded with the action, though it is too terse to add substantial value beyond the title.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of annotations and output schema, a one-sentence description is insufficient for a destructive tool. It omits permanence, whether directories are supported, error semantics, and any return value, leaving important operational details unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already documents the sole parameter with 100% coverage, so the description adds no additional parameter-level meaning. The baseline of 3 applies because the schema handles the semantic burden.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb and resource ('Delete a file'), identifying the core operation. It differentiates from siblings like delete_directory by specifying 'file', though it is essentially a restatement of the tool name.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance about when to use this tool versus alternatives such as delete_directory, rename, or copy_file. No prerequisites, exclusions, or situational cues are provided beyond the obvious implication of the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/YOUSEFISLAM-dev/qwen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server