Skip to main content
Glama

MCP Server Airflow Token

delete_dataset_queued_events

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

Instructions

Delete queued Dataset events for a Dataset

Input Schema

NameRequiredDescriptionDefault
beforeNo
uriYes

Input Schema (JSON Schema)

{ "properties": { "before": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Before" }, "uri": { "title": "Uri", "type": "string" } }, "required": [ "uri" ], "type": "object" }

Implementation Reference

  • The handler function implementing the 'delete_dataset_queued_events' tool. It accepts a dataset URI and optional 'before' timestamp, calls the Airflow 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 entry for the 'delete_dataset_queued_events' tool in the get_all_functions() list, including the handler function, tool name, description, and mutability flag (False).
    ( 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