Skip to main content
Glama

Modal MCP Server

by smehmood

remove_modal_volume_file

Delete files or directories from a Modal volume by specifying the volume name and remote path. Supports recursive deletion for directories. Part of the Modal MCP Server for cloud-based operations.

Instructions

Delete a file or directory from a Modal volume. Args: volume_name: Name of the Modal volume to delete from. remote_path: Path to the file or directory to delete. recursive: If True, delete directories recursively. Required for deleting directories. Returns: A dictionary containing the result of the delete operation. Raises: Exception: If the delete operation fails for any reason.

Input Schema

NameRequiredDescriptionDefault
recursiveNo
remote_pathYes
volume_nameYes

Input Schema (JSON Schema)

{ "properties": { "recursive": { "default": false, "title": "Recursive", "type": "boolean" }, "remote_path": { "title": "Remote Path", "type": "string" }, "volume_name": { "title": "Volume Name", "type": "string" } }, "required": [ "volume_name", "remote_path" ], "title": "remove_modal_volume_fileArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smehmood/modal-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server