Skip to main content
Glama

Skill Management MCP Server

by fkesheh

update_skill_file

Modify existing files within skill directories by replacing their entire content with new data, including Python scripts, configuration files, and documentation.

Instructions

Update the content of an existing file in a skill directory.

This tool allows you to:

  • Modify existing Python scripts or other files

  • Update configuration files or data files

  • Replace entire file contents

  • Edit documentation or metadata

Parameters:

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

  • file_path: Relative path to the file to update (e.g., 'scripts/process.py')

  • content: The new complete content to write to the file (replaces entire file)

Important:

  • This replaces the ENTIRE file content with what you provide

  • The file must already exist (use create_skill_file for new files)

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

  • Always provide the complete new content, not just changes

Returns: Success message with filename and character count.

Input Schema

NameRequiredDescriptionDefault
contentYesNew file content
file_pathYesRelative path to the file within the skill directory
skill_nameYesName of the skill

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "New file content", "title": "Content", "type": "string" }, "file_path": { "description": "Relative path to the file 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", "content" ], "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