Skip to main content
Glama

MCP-Airflow-API

get_xcom_entry

Retrieve a specific cross-communication (XCom) entry for a task instance in an Apache Airflow DAG by providing the DAG ID, run ID, task ID, and XCom key. Retrieves both the value and metadata.

Instructions

[Tool Role]: Retrieves a specific XCom entry for a task instance.

Args: dag_id: The DAG ID dag_run_id: The DAG run ID task_id: The task ID
xcom_key: The XCom key to retrieve map_index: Map index for mapped tasks (default: -1 for non-mapped)

Returns: Dictionary containing the specific XCom entry with full value and metadata

Input Schema

NameRequiredDescriptionDefault
dag_idYes
dag_run_idYes
map_indexNo
task_idYes
xcom_keyYes

Input Schema (JSON Schema)

{ "properties": { "dag_id": { "title": "Dag Id", "type": "string" }, "dag_run_id": { "title": "Dag Run Id", "type": "string" }, "map_index": { "default": -1, "title": "Map Index", "type": "integer" }, "task_id": { "title": "Task Id", "type": "string" }, "xcom_key": { "title": "Xcom Key", "type": "string" } }, "required": [ "dag_id", "dag_run_id", "task_id", "xcom_key" ], "type": "object" }

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