Skip to main content
Glama
Airflow MCP Server

Airflow MCP Server

by treerootboy

enable-dag

Enable a specific Apache Airflow DAG by ID so it can be scheduled and run.

Instructions

Enable a DAG

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dag_id": "<dag_id>"
    },
    "name": "enable-dag"
  }
}

Input Schema

NameRequiredDescriptionDefault
dag_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost nothing. It implies a state mutation but never says what enabling does (reactivating a paused DAG, resuming scheduling), whether it is idempotent, what permissions are required, or what happens if the DAG is already enabled.

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

Conciseness3/5

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

Three words is efficient and front-loaded with the verb, but the brevity here reflects under-specification rather than economy. There is no structure beyond the bare phrase.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, an agent needs to know the effect, the precondition, and the failure modes. The definition supplies none, leaving only the schema's single required field to go on.

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

Parameters2/5

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

Schema description coverage is 0% and the description never mentions the single parameter. The name dag_id makes its meaning largely inferable, but the description adds no format, source, or constraint information to compensate for the undocumented schema.

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

Purpose3/5

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

"Enable a DAG" gives a verb plus resource, so the operation is identifiable, but it essentially restates the tool name with no added specificity. It does not distinguish itself from nearby siblings such as trigger-dag, backfill-dag, or list-dags, which an agent must sort out on its own.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite stating the DAG must already exist or be paused, and no mention of alternatives like trigger-dag for running a DAG versus enabling it. The agent gets no routing help at all.

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