Skip to main content
Glama

delete_file

DestructiveIdempotent

Delete an uploaded file. Permanent: files keep no history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
workspaceNoAnother workspace: its handle, or a link into it (list_workspaces lists them). Empty: this one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspace
      Added value: +{
      +  "default": "",
      +  "description": "Another workspace: its handle, or a link into it (list_workspaces lists them). Empty: this one.",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior4/5

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 covered; the description adds genuine extra context by stating deletion is permanent and that files keep no history, which contrasts with the page_history sibling. It does not mention permissions or whether references are cascaded, so it stops short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and immediately followed by the critical permanence caveat. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool whose annotations already flag destruction and idempotency, the description conveys the key irreversible consequence and no output schema is needed. However, the undocumented 'path' parameter and the absence of any permission or confirmation context leave real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: 'workspace' is documented in the schema, but 'path' has no description anywhere, and the description text says nothing about either parameter. It fails to compensate for the undocumented required path argument.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Delete an uploaded file'), and 'uploaded file' separates it from the sibling delete_page. It never names sibling tools directly, so differentiation relies on the resource noun rather than explicit routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of alternatives (e.g., delete_page for pages), and no prerequisites or warnings about confirming before calling. Usage is only implied by the verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources