Skip to main content
Glama
nikhil-ganage

MCP Server Airflow Token

delete_dataset_queued_events

Remove queued Dataset events from Apache Airflow to manage event backlog and optimize workflow performance.

Instructions

Delete queued Dataset events for a Dataset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYes
beforeNo

Implementation Reference

  • The main handler function that implements the tool logic. It calls the Airflow DatasetApi to delete queued events for a given dataset URI, optionally before a certain timestamp.
    async def delete_dataset_queued_events(
        uri: str,
        before: Optional[str] = None,
    ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]:
        kwargs: Dict[str, Any] = {}
        if before is not None:
            kwargs["before"] = before
    
        response = dataset_api.delete_dataset_queued_events(uri=uri, **kwargs)
        return [types.TextContent(type="text", text=str(response.to_dict()))]
  • Registration of the tool in the get_all_functions() list, which is used to register MCP tools.
        delete_dataset_queued_events,
        "delete_dataset_queued_events",
        "Delete queued Dataset events for a Dataset",
        False,
    ),

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