Skip to main content
Glama
astronomer

astro-airflow-mcp

Official
by astronomer

get_task

Retrieve detailed task definitions from Apache Airflow DAGs to understand configurations, dependencies, operators, and execution parameters for workflow analysis.

Instructions

Get detailed information about a specific task definition in a DAG.

Use this tool when the user asks about:

  • "Show me details for task X in DAG Y" or "What does task Z do?"

  • "What operator does task A use?" or "What's the configuration of task B?"

  • "Tell me about task C" or "Get task definition for D"

  • "What are the dependencies of task E?" or "Which tasks does F depend on?"

Returns task definition information including:

  • task_id: Unique identifier for the task

  • task_display_name: Human-readable display name

  • owner: Who owns this task

  • start_date: When this task becomes active

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

  • trigger_rule: When this task should run (all_success, one_failed, etc.)

  • depends_on_past: Whether task depends on previous run's success

  • wait_for_downstream: Whether to wait for downstream tasks

  • retries: Number of retry attempts

  • retry_delay: Time between retries

  • execution_timeout: Maximum execution time

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

  • pool: Resource pool assignment

  • queue: Queue for executor

  • 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 containing the task task_id: The ID of the task to get details for

Returns: JSON with complete task definition details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes
task_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