Skip to main content
Glama

delete_model

Remove a data model from Polytomic by specifying its ID to manage data connections and synchronization tasks.

Instructions

Delete a model from Polytomic.

Args: id: The model ID to delete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The delete_model tool handler implementation. It uses the polytomic_request helper to send a DELETE request to the Polytomic API.
    @mcp.tool()
    async def delete_model(id: str) -> str:
        """Delete a model from Polytomic.
    
        Args:
            id: The model ID to delete
        """
        result = await polytomic_request(f"/models/{id}", method="DELETE")
        return json.dumps(result, indent=2)

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/therevenueengineer/polytomic-mcp'

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