Skip to main content
Glama
CDataSoftware

CData Sync MCP Server

Official

write_tasks

Create, update, or delete data replication tasks within CData Sync jobs to define what data to synchronize using exact table names and SQL queries.

Instructions

Manage tasks within jobs. Tasks define what data to replicate.

IMPORTANT: Use exact table names from get_connection_tables, including file extensions.

RETURNS:

  • create: New task with assigned TaskId

  • update: Creates new task (cannot modify existing)

  • delete: Confirmation of task removal

COMMON ERRORS:

  • "Invalid table name" - Use exact name from get_connection_tables

  • "Task not found" - Verify TaskId with read_tasks

  • "Invalid query syntax" - Check SQL syntax for provider

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesOperation: create new, update (actually creates new!), or delete existing task
jobNameYesJob name containing the task (required). Job must exist.
taskIdNoTask ID as string for update/delete. Use exact value from read_tasks - don't convert numbers.
tableNameNoExact table name as returned by get_connection_tables. Include file extensions for file-based sources (e.g., 'Account.csv' not 'Account'). Case-sensitive. Automatically creates REPLICATE query.
queryNoSQL query for the task. Use 'REPLICATE [TableName]' for full table using exact source names, or write custom SQL with filters/joins. ⚠️ IMPORTANT: For flat files, always wrap table names in brackets to handle periods correctly: 'REPLICATE [Account.csv]' NOT 'REPLICATE Account.csv'
indexNoExecution order (1, 2, 3...). Tasks run sequentially by index unless parallel processing enabled.
workspaceIdNoWorkspace ID to use for this operation. Overrides the default workspace. Use 'default' for the default workspace or a UUID for specific workspaces.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden and does well. It discloses critical behavioral traits: the 'update' action actually creates a new task (counterintuitive behavior), returns different outputs per action, and lists common errors with specific guidance. It also mentions sequential execution by index and workspace override capability.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with clear sections (IMPORTANT, RETURNS, COMMON ERRORS) and front-loaded purpose. Some redundancy exists (table name guidance appears in multiple places), but overall efficient with every sentence earning its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 7-parameter mutation tool with no annotations and no output schema, the description provides substantial context: behavioral quirks (update creates new), error guidance, sibling tool references, and execution details. It compensates well for the lack of structured metadata, though could benefit from more explicit prerequisites or side effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds some context about table names needing exact values from get_connection_tables and the REPLICATE query behavior, but most parameter semantics are already in the schema. Baseline 3 is appropriate when schema does heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool manages tasks within jobs, specifying that tasks define what data to replicate. It distinguishes from siblings like read_tasks (read vs write) and write_jobs (tasks vs jobs). However, it doesn't explicitly differentiate from other write_* tools beyond the task focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool: managing tasks for data replication. It explicitly references sibling tools get_connection_tables for table names and read_tasks for verifying TaskId. However, it doesn't specify when NOT to use it or alternatives for similar operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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