Skip to main content
Glama

update_chatmode_from_source

Update a .chatmode.md file from its source definition to maintain synchronization between chat modes and their source files.

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 core handler function for the 'update_chatmode_from_source' tool, which currently returns a placeholder 'Not implemented' message as the feature is not yet implemented.
    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"
  • Registers the 'update_chatmode_from_source' tool with the FastMCP app inside the register_chatmode_tools function, specifying name, description, tags, annotations, 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", }, )
  • Schema definition via annotations, including input parameters (filename), return description, and hints for idempotency and read-only status.
    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