Skip to main content
Glama

get_pool

Retrieve detailed information about a specific task execution pool in Apache Airflow to monitor resource allocation and optimize workflow management.

Instructions

[Tool Role]: Gets details for a specific pool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pool_nameYes

Implementation Reference

  • The main handler function for the 'get_pool' tool. It makes a GET request to the Airflow API endpoint `/pools/{pool_name}` to retrieve details for the specified pool. The @mcp.tool() decorator also serves as the registration point for this tool.
    async def get_pool(pool_name: str) -> Dict[str, Any]: """[Tool Role]: Gets details for a specific pool.""" resp = await airflow_request("GET", f"/pools/{pool_name}") resp.raise_for_status() return resp.json()

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/call518/MCP-Airflow-API'

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