Skip to main content
Glama

Skill Management MCP Server

by fkesheh

delete_skill_file

Remove unwanted files from skill directories to clean up outdated scripts, temporary data, or corrupted files permanently.

Instructions

Delete a file from a skill directory permanently.

This tool allows you to:

  • Remove files that are no longer needed

  • Clean up outdated scripts or data files

  • Delete temporary files or corrupted files

Parameters:

  • skill_name: The name of the skill directory (e.g., 'my-skill')

  • file_path: Relative path to the file to delete (e.g., 'scripts/old_script.py', 'data/temp.csv')

Important:

  • This operation is permanent and cannot be undone

  • The file must exist or an error will be returned

  • File_path must be relative to the skill's root directory

  • Cannot delete directories (only individual files)

  • Cannot delete outside the skill directory (path traversal prevented)

Returns: Success message confirming deletion.

Input Schema

NameRequiredDescriptionDefault
file_pathYesRelative path to the file to delete within the skill directory
skill_nameYesName of the skill

Input Schema (JSON Schema)

{ "properties": { "file_path": { "description": "Relative path to the file to delete within the skill directory", "title": "File Path", "type": "string" }, "skill_name": { "description": "Name of the skill", "title": "Skill Name", "type": "string" } }, "required": [ "skill_name", "file_path" ], "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/fkesheh/skill-mcp'

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