Skip to main content
Glama
yangkyeongmo

MCP Server for Apache Airflow

by yangkyeongmo

delete_dataset_queued_events

Remove queued Dataset events in Apache Airflow to manage event backlog and maintain system performance.

Instructions

Delete queued Dataset events for a Dataset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYes
beforeNo

Implementation Reference

  • The main handler function for the 'delete_dataset_queued_events' tool. It accepts a dataset URI and optional 'before' timestamp, constructs kwargs, calls the underlying DatasetApi to delete queued events, and returns the response as text content.
    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 'delete_dataset_queued_events' tool within the get_all_functions() list, including the function reference, name, description, and mutability flag.
        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/yangkyeongmo/mcp-server-apache-airflow'

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