Skip to main content
Glama

get_connection

Retrieve connection configuration details from Apache Airflow clusters to manage data pipeline integrations and monitor connectivity settings.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connection_idYes

Implementation Reference

  • The main handler function for the 'get_connection' MCP tool. It makes a GET request to the Airflow API to retrieve details for a specific connection by its ID. The function is automatically registered as an MCP tool via the @mcp.tool() decorator.
    @mcp.tool() async def get_connection(connection_id: str) -> Dict[str, Any]: """[Tool Role]: Gets details for a specific connection.""" resp = await airflow_request("GET", f"/connections/{connection_id}") 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