Skip to main content
Glama
call518

MCP-Airflow-API

by call518

pause_dag

Pauses a specified Airflow DAG to prevent scheduling new runs, helping control workflow execution and stop unwanted task triggers.

Instructions

[Tool Role]: Pauses the specified Airflow DAG (prevents scheduling new runs).

Args: dag_id: Exact DAG identifier, as returned by list_dags; not its display name.

Input Schema

NameRequiredDescriptionDefault
dag_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.7.2
  2. Removedv3.6.5
  3. Changed2 schema fields changedv3.6.6
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / dag_id / title
      Removed value: -"Dag Id"
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral fact for a mutation: it prevents scheduling of new runs rather than stopping in-flight work. It omits permission requirements, idempotency when the DAG is already paused, and error behavior for a bad dag_id, which keeps it short of a 5.

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?

Two short lines: role and effect first, then the single parameter constraint. Every sentence adds information and nothing is redundant.

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

Completeness4/5

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

For a one-parameter mutation tool with an output schema, the description covers purpose, effect, and parameter sourcing well. It lacks only the operational details: whether pausing is idempotent and how failures for unknown or already-paused DAGs surface.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: dag_id is defined as the exact identifier "as returned by list_dags," explicitly not the display name, and it points at the sibling tool for discovery. That is meaningful semantics the bare {"type":"string"} schema cannot convey.

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?

"Pauses the specified Airflow DAG" gives a specific verb and resource, and the parenthetical "(prevents scheduling new runs)" pins down the exact effect. This cleanly separates it from sibling unpause_dag and trigger_dag without ambiguity.

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

Usage Guidelines3/5

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

The effect statement implies when to call it (halt new scheduling), but there is no explicit routing such as "use unpause_dag to reverse" or "use trigger_dag to start a run now." Usage is inferable from the name and effect rather than stated.

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