Skip to main content
Glama
astronomer

astro-airflow-mcp

Official
by astronomer

pause_dag

Pause a DAG to prevent new scheduled runs while allowing currently running tasks to complete. Use when you need to stop scheduled execution without terminating active tasks.

Instructions

Pause a DAG to prevent new scheduled runs from starting.

Use this tool when the user asks to:

  • "Pause DAG X" or "Stop DAG Y from running"

  • "Disable DAG Z" or "Prevent new runs of DAG X"

  • "Turn off DAG scheduling" or "Suspend DAG execution"

When a DAG is paused:

  • No new scheduled runs will be created

  • Currently running tasks will complete

  • Manual triggers are still possible

  • The DAG remains visible in the UI with a paused indicator

IMPORTANT: This is a write operation that modifies Airflow state. The DAG will remain paused until explicitly unpaused.

Args: dag_id: The ID of the DAG to pause (e.g., "example_dag")

Returns: JSON with updated DAG details showing is_paused=True

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description carries full burden and thoroughly explains behavioral traits: no new scheduled runs, current tasks complete, manual triggers still possible, UI indicator, and that it's a write operation modifying state until unpaused.

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 front-loaded with the primary action and uses multiple paragraphs effectively. However, the list of user queries could be slightly trimmed without losing clarity.

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 simplicity of the tool (1 param, output schema present), the description fully covers the purpose, behavior, return value, and usage guidance. No missing aspects are apparent.

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 coverage is 0%, but the description adds an 'Args' section with dag_id and an example value, providing context beyond the schema's type and required fields. While minimal, it adequately clarifies usage for the single parameter.

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 clearly states the tool pauses a DAG to prevent new scheduled runs, providing a specific verb-resource pair. It lists example user queries like 'Pause DAG X' which distinguishes it from siblings like unpause_dag.

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?

The description explicitly lists when to use this tool (e.g., user asks to pause, disable, turn off scheduling), making context clear. However, it does not explicitly exclude alternatives or mention when not to use, though the sibling unpause_dag is implied.

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/astronomer/astro-airflow-mcp'

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