Skip to main content
Glama
BrianLondon

airflow-dev-mcp

by BrianLondon

set_dag_paused

Pause or unpause an Airflow DAG to control its execution. Unpause a newly added DAG to allow queued runs to execute.

Instructions

Pause or unpause a DAG.

Locally, newly added DAGs are paused by default, so trigger_dag will queue a run that never executes until the DAG is unpaused. Call this with paused=False to enable it.

Args: dag_id: DAG identifier. paused: True to pause, False to unpause.

Returns: DagInfo reflecting the updated state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes
pausedYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
dag_idNo
filelocNo
is_activeNo
is_pausedNo
descriptionNo
next_dagrunNo
last_parsed_timeNo
has_import_errorsNo
Behavior4/5

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

Describes the effect (pause/unpause), default behavior of new DAGs, and consequence of triggering while paused. It also mentions the return value (DagInfo). With no annotations, this provides sufficient behavioral insight for a simple toggle tool.

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

Conciseness5/5

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

The description is concise with no wasted words. It follows a logical structure: purpose, context, parameter docs, return value. Information is front-loaded.

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?

For a simple pause/unpause tool with output schema, this description is complete. It explains default behavior, interaction with triggering, and return format. No gaps identified.

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?

Despite 0% schema coverage, the description explicitly documents both parameters: 'dag_id: DAG identifier' and 'paused: True to pause, False to unpause.' This adds meaning beyond the schema's type and title, clarifying the boolean's semantics.

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 first sentence clearly states 'Pause or unpause a DAG.', using a specific verb and resource. It distinguishes from sibling tools like trigger_dag by focusing on state management.

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?

Provides context: newly added DAGs are paused by default, so trigger_dag will queue a run that never executes until unpaused. This guides when to call with paused=False to enable the DAG. While alternatives are implied, it doesn't explicitly state when not to use this tool.

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