Skip to main content
Glama
CDataSoftware

CData Sync MCP Server

Official

write_transformations

Manage SQL transformations for ELT processing by creating, updating, or deleting them with configurable triggers and execution settings.

Instructions

Create, update, or delete SQL transformations for ELT processing.

RETURNS:

  • create: New transformation details

  • update: Updated configuration

  • delete: Confirmation of removal

COMMON ERRORS:

  • "Invalid SQL syntax" - Check destination SQL dialect

  • "Connection not found" - Verify destination connection

  • "Trigger job not found" - Check job name for AfterJob mode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesOperation to perform
transformationNameYesUnique transformation name. Use descriptive names like 'Daily_Sales_Aggregation'
connectionNoDestination connection where SQL will execute (required for create). Can differ from job destinations.
queriesNoSQL queries to execute. Run in order. Can include DDL, DML, stored procedures. Use destination SQL dialect.
transformationTriggerModeNoWhen to run: 'None' (manual only), 'Scheduled' (use cron), 'AfterJob' (after job success)
scheduledCronNoUnix cron format (minute hour day month weekday) Examples: - "0 6 * * *" - 6 AM daily - "30 */4 * * *" - Every 4 hours at :30 - "0 0 * * 1" - Midnight every Monday
triggerAfterJobNoJob name that triggers this transformation (when mode is 'AfterJob'). Job must succeed.
triggerTasksNoComma-separated task IDs to wait for (optional - waits for entire job if not specified)
verbosityNoLog level: 1=Error, 2=Info, 3=Transfer, 4=Verbose
sendEmailNotificationNoSend email after transformation completes
emailErrorOnlyNoOnly send email on transformation failure
notifyEmailToNoEmail recipient(s) for notifications
notifyEmailSubjectNoEmail subject line
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 by disclosing return values for each action (create, update, delete) and listing common errors with troubleshooting guidance. It adds valuable context about SQL dialect requirements, connection verification, and job dependencies, though it could mention permissions or rate limits.

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?

The description is well-structured with clear sections (purpose, returns, common errors) and uses bullet points for readability. Every sentence earns its place, though the common errors section could be slightly more concise. It's appropriately sized for a complex tool.

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 mutation tool with 14 parameters and no annotations or output schema, the description provides good coverage: it explains the tool's purpose, return values, and common errors. However, it could better address behavioral aspects like idempotency, side effects, or authentication requirements to be fully complete.

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 14 parameters thoroughly. The description doesn't add any parameter-specific semantics beyond what's in the schema, but it doesn't need to compensate. Baseline 3 is appropriate as the schema does the heavy lifting.

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

Purpose5/5

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

The description clearly states the tool's purpose with specific verbs ('Create, update, or delete') and resource ('SQL transformations for ELT processing'). It distinguishes itself from sibling tools like 'execute_query' (which runs queries) and 'read_transformations' (which only reads) by emphasizing write operations on transformation configurations.

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

Usage Guidelines3/5

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

The description implies usage context through the 'ELT processing' mention and common errors like checking SQL dialect and connections, but it doesn't explicitly state when to use this tool versus alternatives like 'write_jobs' or 'execute_query'. No clear exclusions or prerequisites are provided.

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