Skip to main content
Glama

update_bulk_sync_schemas

Modify which data tables are included in a bulk synchronization process by updating schema configurations for a specified sync ID.

Instructions

Update which schemas/tables are enabled for a bulk sync.

Args: id: The bulk sync ID schemas: JSON array of schema configurations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
schemasYes

Implementation Reference

  • The handler function `update_bulk_sync_schemas` which updates bulk sync schemas by making a PATCH request to the Polytomic API.
    @mcp.tool()
    async def update_bulk_sync_schemas(id: str, schemas: str) -> str:
        """Update which schemas/tables are enabled for a bulk sync.
    
        Args:
            id: The bulk sync ID
            schemas: JSON array of schema configurations
        """
        body = {"schemas": json.loads(schemas)}
        result = await polytomic_request(f"/bulk/syncs/{id}/schemas", method="PATCH", 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