Skip to main content
Glama

activate_sync

Enable a data synchronization process by providing the sync ID to start transferring data between systems using the Polytomic MCP Server.

Instructions

Activate (enable) a sync.

Args: id: The sync ID to activate

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The activate_sync function implements the MCP tool to activate a sync by sending a POST request to the Polytomic API.
    @mcp.tool()
    async def activate_sync(id: str) -> str:
        """Activate (enable) a sync.
    
        Args:
            id: The sync ID to activate
        """
        body = {"active": True}
        result = await polytomic_request(f"/syncs/{id}/activate", method="POST", body=body)
        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