Skip to main content
Glama

MCP Server for Apache Airflow

by yangkyeongmo

clear_task_instances

Clear specified task instances in Apache Airflow. Manage DAG task execution by removing instances within defined parameters, including date ranges, subdags, and upstream/downstream dependencies.

Instructions

Clear a set of task instances

Input Schema

NameRequiredDescriptionDefault
dag_idYes
dry_runNo
end_dateNo
include_downstreamNo
include_futureNo
include_parentdagNo
include_pastNo
include_subdagsNo
include_upstreamNo
reset_dag_runsNo
start_dateNo
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" }, "end_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "End 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_parentdag": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Parentdag" }, "include_past": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Past" }, "include_subdags": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Subdags" }, "include_upstream": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Include Upstream" }, "reset_dag_runs": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Reset Dag Runs" }, "start_date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Start Date" }, "task_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Task Ids" } }, "required": [ "dag_id" ], "title": "clear_task_instancesArguments", "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