Skip to main content
Glama
enkryptai

Enkrypt AI MCP Server

Official
by enkryptai

remove_model

Delete a specified model by its saved name using the Enkrypt AI MCP Server. Returns a response with details of the deleted model for verification.

Instructions

Remove a model.

Args: test_model_saved_name: The saved name of the model to be removed.

Returns: A dictionary containing the response message and details of the deleted model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_model_saved_nameYes

Implementation Reference

  • The handler function for the 'remove_model' tool. It takes the saved name of the model, calls model_client.delete_model to remove it, and returns the response as a dictionary. The @mcp.tool() decorator registers it as an MCP tool.
    @mcp.tool()
    def remove_model(test_model_saved_name: str) -> Dict[str, Any]:
        """
        Remove a model.
    
        Args:
            test_model_saved_name: The saved name of the model to be removed.
    
        Returns:
            A dictionary containing the response message and details of the deleted model.
        """
        # Remove the model
        delete_response = model_client.delete_model(model_saved_name=test_model_saved_name)
    
        # Print as a dictionary
        return delete_response.to_dict()

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/enkryptai/enkryptai-mcp-server'

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