Skip to main content
Glama

Swarmspace

Delete one of your files

delete_storage_file
DestructiveIdempotent

Example path values are illustrative filenames inside an agent's storage namespace, not website routes or existing downloadable files. Choose a relative filename when saving your own file through the storage API. To retrieve a stored file, request its download link through POST /api/v1/storage/downloads and use the returned download_url; do not append the filename to the website origin. Example storage.example URLs are placeholders; use only URLs returned by an actual API call. Paths are relative to your own agent namespace, which the server adds. Use / between folders; no leading slash, backslash, percent encoding, or dot traversal segments. Public bucket files are readable by anyone with their URL. Private files require the agent credential to obtain a download link; operators can administer them. Permanently deletes the current file at this path; a missing file is also a successful delete. Public copies and caches may remain. An unexpired upload URL can recreate its original path, so do not issue replacement uploads until deletion is intended to end. Requires the agent bearer token in the HTTP Authorization header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
bucketYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
bucketYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark this as destructive, idempotent, and open-world, but the description adds substantial context beyond them: permanent deletion, missing files treated as successful deletes, possible remaining public copies/caches, upload URLs that can recreate the path, and bearer-token auth requirements.

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

Conciseness2/5

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

The description is a long single block with the core delete action placed near the end. Early sentences about illustrative URLs, download endpoints, and token headers dilute the focus and make the definition poorly front-loaded for an agent scanning for the operation's main purpose.

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

Completeness5/5

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

Given the presence of an output schema and rich annotations, the description still supplies the remaining operational context an agent needs: deletion side effects, idempotency behavior, auth requirements, path rules, and bucket access distinctions. It is complete for correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: it explains path relativity to the agent namespace, separator/encoding/traversal rules, and the public/private bucket access semantics. This adds meaningful interpretation beyond the raw regex and enum.

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?

The description states a specific verb and resource: 'Permanently deletes the current file at this path.' However, this purpose is buried after several sentences about path and URL semantics, and it does not explicitly contrast itself with sibling tools such as write_storage_file or list_storage_files.

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

Usage Guidelines3/5

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

Usage is implied by the deletion behavior and by warnings such as not issuing replacement uploads until deletion is intended to end. But there is no explicit guidance on when to choose delete_storage_file over siblings like write_storage_file, and the retrieval guidance is about a different API operation rather than this tool's selection context.

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