Skip to main content
Glama

MCP Server for Apache Airflow

by yangkyeongmo

set_task_instances_state

Modify the state of task instances in Apache Airflow by specifying DAG IDs, task IDs, and execution dates. Supports optional parameters to include upstream, downstream, past, or future tasks, and enables dry-run testing.

Instructions

Set a state of task instances

Input Schema

NameRequiredDescriptionDefault
dag_idYes
dry_runNo
execution_dateNo
include_downstreamNo
include_futureNo
include_pastNo
include_upstreamNo
stateYes
task_idsNo

Input Schema (JSON Schema)

{ "properties": { "dag_id": { "title": "Dag Id", "type": "string" }, "dry_run": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Dry Run" }, "execution_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Execution Date" }, "include_downstream": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Downstream" }, "include_future": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Future" }, "include_past": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Past" }, "include_upstream": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Upstream" }, "state": { "title": "State", "type": "string" }, "task_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Task Ids" } }, "required": [ "dag_id", "state" ], "title": "set_task_instances_stateArguments", "type": "object" }

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/yangkyeongmo/mcp-server-apache-airflow'

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