file_delete
Delete a file with enforced permission checks to prevent unauthorized removal.
Instructions
Delete a file. Requires file.delete permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file |
Delete a file with enforced permission checks to prevent unauthorized removal.
Delete a file. Requires file.delete permission.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility for behavioral disclosure. It mentions the required permission but does not disclose whether deletion is permanent, reversible, or has any side effects, which is critical 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 concise and front-loaded, with two sentences that state the core action and the key permission requirement. There is no redundant or extraneous information.
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 simple nature of the tool (one parameter, no output schema), the description covers the core purpose and permission. However, it omits behavioral consequences like irreversibility, which would make it more complete for an agent executing a destructive operation.
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 description adds no parameter-specific semantics, but the input schema already documents the 'path' parameter completely, achieving 100% coverage. This meets the baseline for parameter clarity.
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 clearly states the action ('Delete a file') with a specific verb and resource, distinguishing it from sibling tools like file_read or file_write. The name and description align perfectly, leaving no ambiguity about the tool's function.
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?
The description does not explicitly say when to use this tool vs alternatives, but the action is self-evident. The permission requirement ('file.delete') is a prerequisite, not a usage directive, so guidance is implied rather than stated.
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/AgentsID-dev/shell-guard'
If you have feedback or need assistance with the MCP directory API, please join our Discord server