Skip to main content
Glama

MCP Server Airflow Token

get_dag_dataset_queued_event

Retrieve queued Dataset events for Apache Airflow DAGs to monitor data dependencies and trigger conditions using the MCP Server Airflow Token.

Instructions

Get a queued Dataset event for a DAG

Input Schema

NameRequiredDescriptionDefault
dag_idYes
uriYes

Input Schema (JSON Schema)

{ "properties": { "dag_id": { "title": "Dag Id", "type": "string" }, "uri": { "title": "Uri", "type": "string" } }, "required": [ "dag_id", "uri" ], "type": "object" }

Implementation Reference

  • The handler function that implements the core logic of the get_dag_dataset_queued_event tool by calling the underlying dataset_api and formatting the response as MCP TextContent.
    async def get_dag_dataset_queued_event( dag_id: str, uri: str, ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: response = dataset_api.get_dag_dataset_queued_event(dag_id=dag_id, uri=uri) return [types.TextContent(type="text", text=str(response.to_dict()))]
  • The registration entry for the tool in the get_all_functions() list returned by the dataset module, which is later used by src/main.py to add the tool to the MCP server.
    (get_dag_dataset_queued_event, "get_dag_dataset_queued_event", "Get a queued Dataset event for a DAG", True),

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/nikhil-ganage/mcp-server-airflow-token'

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