Skip to main content
Glama
astronomer

astro-airflow-mcp

Official
by astronomer

list_tasks

Retrieve all tasks and their configurations from a specific Apache Airflow DAG to understand workflow structure and dependencies.

Instructions

Get all tasks defined in a specific DAG.

Use this tool when the user asks about:

  • "What tasks are in DAG X?" or "List all tasks for DAG Y"

  • "Show me the tasks in this workflow" or "What's in the DAG?"

  • "What are the steps in DAG Z?" or "Show me the task structure"

  • "What does this DAG do?" or "Explain the workflow steps"

Returns information about all tasks in the DAG including:

  • task_id: Unique identifier for the task

  • task_display_name: Human-readable display name

  • owner: Who owns this task

  • operator_name: Type of operator (PythonOperator, BashOperator, etc.)

  • start_date: When this task becomes active

  • end_date: When this task becomes inactive (if set)

  • trigger_rule: When this task should run

  • retries: Number of retry attempts

  • pool: Resource pool assignment

  • downstream_task_ids: List of tasks that depend on this task

  • upstream_task_ids: List of tasks this task depends on

Args: dag_id: The ID of the DAG to list tasks for

Returns: JSON with list of all tasks in the DAG and their configurations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes

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/astronomer/astro-airflow-mcp'

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