Delete a file
delete_filePermanently deletes a file. Its public link stops working immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file id returned by upload_file or list_files. |
delete_filePermanently deletes a file. Its public link stops working immediately.
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file id returned by upload_file or list_files. |
Changes observed during successful MCP inspections.
No schema history has been recorded yet.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds one genuinely new behavioral fact, that the public link stops working immediately, but stops short of covering the remaining relevant behaviors: whether deletion is recoverable, what happens to shared links issued to others, or what error surfaces when the file_id does not exist. Credit is therefore limited to partial additional context.
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?
Two short sentences, front-loaded with the destructive verb and followed by the most consequential side effect. No filler, though the second sentence could have been merged or extended at no cost.
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?
For a single-parameter destructive tool with full annotation coverage and no output schema, the description is largely sufficient: the agent knows it is permanent and that links break. Missing only edge-case behavior such as not-found handling or permission requirements.
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?
Schema coverage is 100% and file_id is fully documented in the schema, including provenance ('returned by upload_file or list_files'). The description adds nothing about parameter semantics, so the baseline 3 applies.
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 states a specific verb and resource ('Permanently deletes a file'), which is immediately distinguishable from the closest sibling, delete_folder, by its object. It does not, however, explicitly name that sibling or contrast the two, so the differentiation comes from the name rather than the prose.
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 on when to call this rather than alternatives such as delete_folder, replace_file, or simply moving a file. No prerequisites, no mention of confirming destruction, and no stated exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.