Skip to main content
Glama
BrianLondon

airflow-dev-mcp

by BrianLondon

trigger_dag

Trigger a manual DAG run in an Airflow development cluster. Optionally pass configuration, set logical date, or attach a note.

Instructions

Trigger a manual run of a DAG in the dev Airflow cluster.

Args: dag_id: DAG identifier as it appears in Airflow. conf: Optional dict passed to the run (accessible as dag_run.conf inside tasks). logical_date: Optional ISO-8601 timestamp for the run's logical date. Defaults to now. note: Optional human-readable note attached to the run.

Returns: DagRunSummary for the created run, including dag_run_id needed for status/log lookups. Note: if the DAG is paused, the run is created in queued state but will not execute until the DAG is unpaused (see set_dag_paused).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confNo
noteNo
dag_idYes
logical_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
confNo
noteNo
stateNo
dag_idNo
end_dateNo
run_typeNo
dag_run_idNo
start_dateNo
logical_dateNo
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description must disclose behavior. It honestly states that triggering a paused DAG creates a queued run that will not execute until unpaused, and that run_id is returned for status lookups. It does not contradict any annotations (none exist) and adds necessary caveats about execution.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with Args and Returns sections, and a separate note for the paused-DAG behavior. It is front-loaded with the main purpose. A slight improvement would be to reduce redundancy between the initial sentence and the Args block, but overall it is clear and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, 1 required), lack of schema description, and presence of output schema, the description covers all necessary facets: parameter details, return type (DagRunSummary), and a critical behavioral note about paused DAGs. It also references a sibling tool for unpausing, making it self-contained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains each parameter: dag_id as the Airflow identifier, conf as an optional dict passed to the run, logical_date as ISO-8601 (defaults to now), and note as a human-readable string. This adds significant meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Trigger') and resource ('manual run of a DAG'), immediately clarifying the tool's function. It distinguishes from sibling tools (e.g., list_dags, set_dag_paused) by focusing on initiating a run.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While it does not explicitly state 'use this when...', it implies the primary use case: manually triggering a DAG. The note about paused DAGs instructs the agent to check DAG state and references set_dag_paused as a complementary action, providing clear guidance on when this tool is (and is not) sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/BrianLondon/airflow-dev-mcp'

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