Skip to main content
Glama

update_chatmode_from_source

Synchronize a .chatmode.md file with its source definition in the Mode Manager MCP server, ensuring content accuracy and consistency.

Instructions

Update a .chatmode.md file from its source definition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesThe filename of the chatmode to update from source (with or without extension)

Implementation Reference

  • The main handler function implementing the 'update_chatmode_from_source' tool logic. Currently returns a 'Not implemented' message.
    def update_chatmode_from_source( filename: Annotated[str, "The filename of the chatmode to update from source (with or without extension)"], ) -> str: """Update a .chatmode.md file from its source definition.""" return "Not implemented"
  • Registration of the 'update_chatmode_from_source' tool using the @app.tool decorator, including description, tags, annotations for schema, and metadata.
    @app.tool( name="update_chatmode_from_source", description="Update a .chatmode.md file from its source definition.", tags={"public", "chatmode"}, annotations={ "idempotentHint": False, "readOnlyHint": False, "title": "Update Chatmode from Source", "parameters": {"filename": "The filename of the chatmode to update from its source. If .chatmode.md extension is not provided, it will be added automatically."}, "returns": "Returns a success message if the chatmode was updated from source, or an error message. Note: This feature is currently not implemented.", }, meta={ "category": "chatmode", }, )
  • Input/output schema definition for the 'update_chatmode_from_source' tool provided in the annotations dictionary.
    annotations={ "idempotentHint": False, "readOnlyHint": False, "title": "Update Chatmode from Source", "parameters": {"filename": "The filename of the chatmode to update from its source. If .chatmode.md extension is not provided, it will be added automatically."}, "returns": "Returns a success message if the chatmode was updated from source, or an error message. Note: This feature is currently not implemented.", },

Latest Blog Posts

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/NiclasOlofsson/mode-manager-mcp'

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