Skip to main content
Glama
CDataSoftware

CData Sync MCP Server

Official

write_jobs

Create, update, or delete data replication jobs in CData Sync to move data between sources and destinations with scheduling, transformations, and error handling.

Instructions

Create, modify, or delete data replication jobs. If not authenticated with CData Sync, you will be prompted for credentials. Jobs orchestrate moving data from source to destination with options for scheduling, transformations, error handling, and notifications. IMPORTANT: Use table names exactly as reported by the source connection - do not modify names or extensions. Job types: Standard=Basic replication, ReplicateAll=Sync all tables, LoadFolder=File-based, ChangeDataCapture=CDC, ReverseETL=Reverse sync, EnhancedChangeDataCapture=Enhanced CDC. Cannot modify/delete running jobs. Add tasks after creating the job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesOperation to perform. Create new jobs, update settings, or delete stopped jobs
jobNameYesUnique job name. Use descriptive names indicating purpose/frequency (e.g., 'Hourly_Customer_Sync')
sourceNoSource connection name (required for create). Must be an existing, tested connection.
destinationNoDestination connection name (required for create). Must be an existing, tested connection.
typeNoJob type: Standard=Basic replication, ReplicateAll=Sync all tables, LoadFolder=File-based, ChangeDataCapture=CDC, ReverseETL=Reverse sync, EnhancedChangeDataCapture=Enhanced CDC
queriesNoSQL queries for tasks. Use 'REPLICATE [TableName]' for full table copy using exact source table names, or write custom SQL with filters/joins. Table names must match exactly what the source reports.
scheduledNoEnable scheduled execution. When true, also set scheduledCron.
scheduledCronNoUnix cron expression for scheduling (e.g., '0 */2 * * *' for every 2 hours). Runs as job creator.
verbosityNoLog detail level: 1=Error only, 2=Info (default), 3=Transfer details, 4=Verbose/Debug
batchSizeNoRecords per batch. Larger = faster but more memory. Provider-specific optimal values.
commandTimeoutNoSeconds before query timeout. Increase for long-running operations.
continueOnErrorNoContinue processing remaining tasks if one fails. Useful for independent tables.
dropTableNoDrop and recreate destination table each run. Handles schema changes but loses indexes/constraints.
truncateTableDataNoDelete all destination rows before each sync (full refresh). Slower but ensures consistency.
alterSchemaNoAutomatically add columns and modify data types when source schema changes
autoTruncateStringsNoAutomatically truncate strings exceeding destination column size instead of failing
skipDeletedNoIgnore deleted records in source (if supported). Improves performance but may leave orphaned data.
useGmtDateTimeNoUse GMT/UTC for all timestamps instead of local server time
tableNamePrefixNoPrefix for all destination tables (e.g., 'staging_' creates 'staging_customers')
cacheSchemaNoOverride destination schema name (e.g., 'analytics' instead of default 'dbo')
replicateStartDateNoStart replicating from this date (yyyy-MM-dd). Useful for historical data limits.
replicateIntervalNoChunk size for data replication (e.g., '30' with 'days' = 30-day chunks). Improves resume capability.
replicateIntervalUnitNoUnit for replication interval: minutes, hours, days (default), weeks, months, years
sendEmailNotificationNoSend email after job completion. Requires email configuration.
emailErrorOnlyNoOnly send email on job failure (reduces notification noise)
notifyEmailToNoEmail recipient(s) for notifications. Comma-separate multiple addresses.
notifyEmailSubjectNoCustom email subject. Can include job name/status variables.
notifyWindowsEventNoWrite errors to Windows Event Log (Windows servers only)
preJobNoSQL/code to execute before job starts. Use for setup/validation.
postJobNoSQL/code to execute after job completes. Use for cleanup/notifications.
otherCacheOptionsNoAdditional provider-specific options (comma-separated key=value pairs)
workspaceIdNoWorkspace ID to use for this operation. Overrides the default workspace. Use 'default' for the default workspace or a UUID for specific workspaces.

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/CDataSoftware/cdata-sync-mcp-server'

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