dry_run, which validates and returns the would-be outcome without applying it.
Tool index
Each tool name links to its section below.Run inspection
list_runs
Read-only. Lists recent job runs (executions) in the account, most recent first. Each run is one execution of a package. Defaults to root runs only, so child retries are excluded. Filter bypackage_id or status.
Each run includes
id, package_id, status, owner_id, cluster_id, started_at, completed_at, failed_at, runtime_seconds, progress, attempts, created_at, updated_at, and last_error (present for failed or stopped runs, with sensitive values redacted).get_run
Read-only. Returns details for a single run by id: the same fields aslist_runs, plus an output count and a redacted tail of the execution log for inline diagnosis. Run variables are deliberately not exposed.
The run id, alongside
package_id, status, owner_id, cluster_id, started_at, completed_at, failed_at, runtime_seconds, progress, attempts, created_at, updated_at, and last_error (for failed or stopped runs, redacted).get_run_summary
Read-only. Returns the record counts for a single run by id: how many records each source read and each destination wrote, per flow and in total, plus the run’s status and timing. Use it to report how much data a run loaded. It requires the same access asget_run. It is available to MCP clients such as Claude Desktop; the in-product Helm assistant does not currently offer it.
records_read (the sum over all sources) and records_written (the sum over all destinations). Each is null unless every source, or every destination, has a measured count, and also null when the run has no sources or destinations to count (for example a workflow run).One entry per flow in the package, each with
id, name, is_complete, is_successful, records_read, and records_written.One entry per source component:
component_id, name, type, flow_id, records_read, and records_source.One entry per destination component:
component_id, name, type, flow_id, records_written, bytes_written (only when records_source is output, otherwise null), and records_source.Present only for a workflow run, which carries no counts of its own. The counts are recorded on its child runs.
Reading the counts
records_source says where a count came from.
- A count the engine did not report is
null. A failed run, a run on an older cluster, or a stage with several inputs can leave a source or destination countnull. A0is a count the platform recorded. A total, and a flow’srecords_readorrecords_written, isnullwhenever any count behind it isnull. totals.records_writtenadds up every destination. A flow that sends all 6 records it reads to each of 3 destinations reports 6 read and 18 written. Compare counts per flow or per component, not across the totals.records_readminusrecords_writtenis not a rejected-record count. The difference also comes from filters, joins, aggregations, and several destinations. Rejected or failed-row counts are not recorded per run: useexplain_job_failureor the run log.- Workflow runs return empty lists, null totals,
records_measured: false, and anote. A workflow’s counts are recorded on its child runs, and no MCP tool on this page lists child runs. - Empty lists with no
notemean the counts were not available, because the package has no components or the counts could not be computed. They do not mean nothing was loaded. - An unknown run id, or one outside your account, returns
{ "error": "run not found" }.
explain_job_failure
Read-only. Diagnoses a failed run without an LLM call on the server. Returns the run’s primary error, programmatically detected error patterns (FATAL, ERROR, exception, connection, auth, schema, and more), a redacted log tail, and heuristic next-step suggestions. The calling agent does the final synthesis.The run’s primary error message, redacted. Usually this is the run’s
last_error. If a dataflow run fails with a generic platform message such as Workflow failed to execute or Package failed to execute, this field holds the root cause found in the run log instead. If no root cause was found, the generic message stays, and you can check detected_errors and log_tail. null for runs that did not fail or stop.The original generic platform message, returned only when
primary_error was replaced with the root cause. The field is absent from every other response. A workflow package run always keeps the generic message in primary_error, because its real error is on a child run.Structured error patterns found in the log, each with a
type such as connection_failure, auth_failure, schema_error, destination_conflict, rate_limited, out_of_memory, or exception.Heuristic next steps tied to the detected patterns (for example, run
test_connection on a refused connection, or discover_schema on a schema mismatch or a missing table).Schedules
list_schedules
Read-only. Lists schedules in the account. Each schedule fires on a cron expression or an interval. Filter bypackage_id (schedules targeting a given package) or status.
Each schedule includes
id, name, description, status, schedule_type, schedule_expression, interval_amount, interval_unit, cron_time_zone, start_at, end_at, next_run_at, last_run_at, last_run_status, execution_count, recurrence_count, package_ids, owner_id, created_at, and updated_at.get_schedule
Read-only. Returns full details for a single schedule by id, including the packages it targets with their per-package variables, the task config, and run metadata.The schedule id, with
name, description, status, schedule_type, schedule_expression, interval_amount, interval_unit, cron_time_zone, start_at, end_at, owner_id, execution_count, recurrence_count, next_run_at, last_run_at, last_run_id, last_run_status, auto_retry, auto_retry_attempts, created_at, and updated_at.toggle_schedule
Mutation. Enables or disables an existing schedule. This is a pure metadata change: no credentials, no data writes, no cluster spin-up, and it is reversible by the same tool. The cron worker picks up the new state within about 60 seconds. Idempotent in both directions, an already-matching state returnsalready_in_target_state: true as a no-op. Supports dry_run, which returns the would-be transition without toggling. When a dry run enables a disabled schedule, next_run_if_enabled is the next run time that enabling would set, not the schedule’s stored next_run_at.
create_schedule
Mutation. Creates a schedule that runs one or more packages on a cadence. It is created disabled by default, so an agent call will not silently start firing recurring jobs. Passstatus: "enabled" (or call toggle_schedule afterward) to activate it. Supports dry_run, which validates and returns the would-be schedule without creating it.
ISO-8601 timestamp for when the schedule starts. Interpreted as UTC unless
current_time_zone is set.At least one package. Each item may be
{ package_id, variables? } or a bare package id.The new schedule id, with
name, status, schedule_type, and next_run_at. On a dry_run, these are nested under would_create with a valid flag (and errors when invalid).update_schedule
Mutation. Updates an existing schedule’s cadence or metadata, toggles it, and/or appends packages. Only the fields you pass are changed.status goes through the proper enable/disable transition. add_packages only appends to the schedule’s package list: packages already on the schedule are skipped, and nothing is removed or reordered. To change the full package set, recreate the schedule. Supports dry_run.
Packages to add. Each item may be
{ package_id, variables? } or a bare package id. Appends only.The schedule id, with
name, status, schedule_type, next_run_at, and package_ids. On a dry_run, the response is nested under would_update with the changed fields, target status, and add_packages.Execution and recovery
create_cluster
Mutation. Creates a cluster, the compute resource a package run executes on. This provisions real, billed infrastructure that starts costing once it launches and is not cheaply undone, so use it deliberately and run it withdry_run: true first. A new cluster starts in pending and takes minutes to reach available: poll list_clusters with status: "available", then pass its id to run_package.
A cluster keeps costing until it terminates. Set terminate_on_idle and time_to_idle so an unused cluster shuts down. No MCP tool terminates a cluster: do that in the dashboard or the API.
You need permission to create clusters in the account and to manage the new cluster. The call is refused with a subscription limit reached error when your plan’s cluster, node, or usage limit is hit, and with an error when the account has no subscription. Values that fail validation, such as an unsupported region, are reported by a dry_run as valid: false with errors.
distributed (a multi-node cluster), sandbox (a single-node cluster that shuts down on idle unless you set terminate_on_idle to false), or managed (bring your own Hadoop).Terminate the cluster after it has been idle for
time_to_idle seconds. Defaults to true for a sandbox cluster and false otherwise.Validate the cluster and report what would be created, without provisioning it.
Makes a retried call safe: repeating the call with the same key does not provision a second cluster.
The new cluster id, with
name, status (pending), type, nodes, region, terminate_on_idle, and created_at. On a dry_run, the details are nested under would_create with valid: true, or with valid: false and the validation errors.run_package
Mutation. Starts a new run of a package on a given cluster and returns therun_id immediately, with the run in pending. It does not wait for completion: poll get_run for status. It runs the saved version of the package. Unsaved draft edits are not included, so save the draft with save_package_version first if the user wants those edits run. Compute charged for time the run was already executing on the cluster cannot be refunded, so cancel via cancel_job if needed. Supports dry_run, which returns the predicted state without creating a run.
A map of variable name to value that overrides the package’s defaults for this run only. String literals must be wrapped in inner single quotes (pass
"'Smith'", not "Smith"), since $variable references are evaluated as Pig expressions. Numbers and booleans need no quoting, and values are matched case-sensitively.The new run id, with
package_id, package_name, cluster_id, status, variables_applied (the overridden keys), and started_at. On a dry_run, the details are nested under would_create with a cluster_action hint.cancel_job
Mutation. Stops an in-flight run by sending the cancel signal through the run’s state machine. Anidle run stops synchronously; pending, queued, or running runs move to pending_stoppage and are stopped asynchronously (poll get_run to confirm). Idempotent: a run already cancelling returns already_cancelling: true, and a run already finished returns already_terminal: true. Not reversible once cancelled. Supports dry_run.
The run id, with
previous_status, new_status, already_terminal, already_cancelling, and cancel_requested_at (the time the cancel signal was sent, not when the run finished stopping). On a dry_run, the details are nested under would_cancel with a cluster_impact hint.retry_job
Mutation. Re-runs a finished (failed, cancelled, or completed) run by creating a fresh run that copies the parent’s package, cluster, and variables, then starts it. The new run is a sibling: the original run is preserved in its terminal status. By default,variables are merged onto the parent’s; pass replace_variables: true to use only the new hash. Supports dry_run, which returns the resolved variable set without creating the run.
Variable overrides. Merged onto the parent’s variables by default (override wins on collision). Omit to retry exactly as the parent ran.
When
true, use only the supplied variables hash instead of merging onto the parent’s.