delete_file_by_id_api_v1_files
Deletes a file by its unique identifier. Use this tool to remove files from OpenWebUI via the admin API.
Instructions
Delete File By Id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Deletes a file by its unique identifier. Use this tool to remove files from OpenWebUI via the admin API.
Delete File By Id
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It only states 'Delete', which implies irreversible removal, but gives no details on side effects, permissions required, or whether the operation is permanent. The minimal description fails to inform the agent about critical behavioral aspects.
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?
At three words, the description is excessively terse. While conciseness is valued, it sacrifices necessary information. Every sentence should earn its place, but here the description omits crucial details, making it under-specified.
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 tool's simplicity (one parameter, no output schema), the description should provide complete context. It fails to describe the nature of deletion (soft vs hard), return value, or any error conditions. Sibling tools are numerous and similar, yet no distinguishing details are offered.
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?
Input schema coverage is 0%, yet the description adds no meaning to the 'id' parameter. The description does not explain what 'id' represents (e.g., file UUID, path), nor does it provide format or constraints. This is a significant gap as the description should compensate for the lack of schema documentation.
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 'Delete File By Id' clearly states the action (delete), resource (file), and method (by ID). It differentiates from sibling tools like 'delete_all_files' or 'delete_folder_by_id' by specifying the exact operation on an individual file.
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?
No guidance on when to use this tool versus alternatives. There is no mention of prerequisites, scenarios where deletion is appropriate, or exclusions. The description is purely a statement of purpose without usage context.
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/TETRA-2023/open-webui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server