Skip to main content
Glama

MCP-Airflow-API

dag_calendar

Retrieve detailed calendar and schedule data for a specific DAG in Airflow, including run history and upcoming executions, within a customizable date range and result limit.

Instructions

[Tool Role]: Retrieves calendar/schedule information for a specific DAG.

Args: dag_id: The DAG ID to get calendar info for start_date: Start date for calendar range (YYYY-MM-DD format, optional) end_date: End date for calendar range (YYYY-MM-DD format, optional) limit: Maximum number of DAG runs to return (default: 20, was hardcoded at 50)

Returns: DAG calendar data: dag_id, schedule_interval, runs, next_runs

Input Schema

NameRequiredDescriptionDefault
dag_idYes
end_dateNo
limitNo
start_dateNo

Input Schema (JSON Schema)

{ "properties": { "dag_id": { "title": "Dag Id", "type": "string" }, "end_date": { "default": null, "title": "End Date", "type": "string" }, "limit": { "default": 20, "title": "Limit", "type": "integer" }, "start_date": { "default": null, "title": "Start Date", "type": "string" } }, "required": [ "dag_id" ], "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/call518/MCP-Airflow-API'

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