delete_file
Delete an uploaded file by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File ID to delete |
Delete an uploaded file by ID
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File ID to delete |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It merely states 'delete' without disclosing side effects, permanence, permission requirements, or error handling. For a destructive operation, this is a significant transparency gap.
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, concise sentence that is front-loaded with the action and resource. No unnecessary words or rambling.
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 simple one-parameter delete operation, the description is minimally adequate. However, it omits any mention of return values or whether deletion is permanent, and with no output schema, the agent is left without guidance on expected outcomes.
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 provides 100% coverage by describing 'id' as 'File ID to delete'. The description's phrase 'by ID' adds no extra meaning beyond the schema, so the baseline of 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 clearly states the action (delete), the resource (uploaded file), and the identifier (by ID). It distinguishes from siblings like get_file_info, list_files, and upload_file by focusing exclusively on deletion.
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 provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, exclusions, or that deletion is irreversible. The intended usage is implied only by the verb 'delete'.
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.
Each tool has a unique purpose: upload, list, get details, and delete. No overlap or ambiguity between actions.
All tools follow a consistent verb_noun pattern with snake_case: delete_file, get_file_info, list_files, upload_file.
4 tools cover the core file management lifecycle appropriately without being unnecessarily large or sparse.
The set covers create (upload), list, detail, and delete. A download or update tool is missing, but for a URL-based upload service, the existing tools cover most workflow needs.