Skip to main content
Glama

get_version

Retrieve Apache Airflow version details to verify cluster compatibility and plan updates for workflow orchestration.

Instructions

[Tool Role]: Gets Airflow version information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_version' tool. It performs a GET request to the Airflow '/version' API endpoint using the shared 'airflow_request' function and returns the version information as a dictionary.
    @mcp.tool() async def get_version() -> Dict[str, Any]: """[Tool Role]: Gets Airflow version information.""" resp = await airflow_request("GET", "/version") resp.raise_for_status() return resp.json()
  • Calls register_common_tools which registers the get_version tool (among others) for Airflow API v1.
    common_tools.register_common_tools(mcp)
  • Calls register_common_tools which registers the get_version tool (among others) for Airflow API v2.
    common_tools.register_common_tools(mcp)

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