Skip to main content
Glama
yangkyeongmo

MCP Server for Apache Airflow

by yangkyeongmo

delete_pool

Remove a specific pool from Apache Airflow using the MCP Server, enabling efficient management of resources and streamlined workflow configuration.

Instructions

Delete a pool

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pool_nameYes

Implementation Reference

  • The async handler function that implements the delete_pool tool by calling the Airflow pool_api to delete the pool and returning a success message.
    async def delete_pool( pool_name: str, ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: """ Delete a pool. Args: pool_name: The pool name. Returns: A confirmation message. """ pool_api.delete_pool(pool_name=pool_name) return [types.TextContent(type="text", text=f"Pool '{pool_name}' deleted successfully.")]
  • The registration function that returns a list of tool definitions, including delete_pool.
    def get_all_functions() -> list[tuple[Callable, str, str, bool]]: """Return list of (function, name, description, is_read_only) tuples for registration.""" return [ (get_pools, "get_pools", "List pools", True), (get_pool, "get_pool", "Get a pool by name", True), (delete_pool, "delete_pool", "Delete a pool", False), (post_pool, "post_pool", "Create a pool", False), (patch_pool, "patch_pool", "Update a pool", 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