Skip to main content
Glama
CDataSoftware

CData Sync MCP Server

Official

execute_query

Execute predefined queries within CData Sync jobs for testing or ad-hoc operations. Run existing task queries to validate data synchronization workflows and connections.

Instructions

Execute pre-defined queries within a job context for testing or ad-hoc operations.

IMPORTANT: Can only execute queries already defined as tasks - cannot run arbitrary SQL.

RETURNS:

  • Success: Query execution results with row counts and timing

  • Async: Confirmation that queries started

  • Error: { code: -32603, message: "error details" }

COMMON ERRORS:

  • "Query not found" - Query must exist as task in job

  • "Job not found" - Verify job name/ID

  • "Execution failed" - Check query syntax and connections

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobNameNoJob context for query execution (defines connections to use)
jobIdNoAlternative: Job UUID for context
queriesYesQuery names or REPLICATE statements that exist as tasks in the job. Cannot execute arbitrary SQL - must match existing task patterns.
waitForResultsNoWait for completion (true) or run async (false)
timeoutNoMaximum seconds to wait (0 = unlimited)
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