Skip to main content
Glama
madamak

Apache Airflow MCP Server

by madamak

airflow_list_dags

Read-onlyIdempotent

Retrieve and display Airflow DAGs with their pause status and UI links for monitoring workflow status across instances.

Instructions

List DAGs (pause state + UI link) for the target instance.

Parameters

  • instance: Instance key (optional; mutually exclusive with ui_url)

  • ui_url: Airflow UI URL to resolve instance (optional; takes precedence - must match a configured host)

  • limit: Max results (default 100; accepts int/float/str, coerced to non-negative int, fractional values truncated)

  • offset: Offset for pagination (default 0; accepts int/float/str, coerced to non-negative int, fractional values truncated)

Returns

  • Response dict: { "dags": [{ "dag_id", "is_paused", "ui_url" }], "count": int, "request_id": str }

  • Raises: ToolError with compact JSON payload (code, message, request_id, optional context)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceNo
ui_urlNo
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the agent knows this is a safe, repeatable read operation. The description adds valuable context beyond annotations by specifying the return format, error handling behavior ('Raises: ToolError with compact JSON payload'), and pagination details. It doesn't mention rate limits or authentication requirements, but provides good behavioral transparency given the annotations.

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 clear sections (purpose, parameters, returns) and front-loaded with the core purpose. Every sentence adds value, though the parameter explanations could be slightly more concise. The structure helps the agent quickly understand the tool's functionality and usage.

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, pagination, instance resolution), the description provides complete context. It explains the return format in detail, documents error handling, specifies parameter behaviors, and the existence of an output schema means the description doesn't need to exhaustively document return values. The combination of good description and annotations makes this complete.

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?

With 0% schema description coverage, the description carries the full burden of explaining parameters. It provides comprehensive semantic information for all 4 parameters: explains the instance/ui_url mutual exclusivity and precedence rules, documents default values and coercion behavior for limit/offset, and clarifies that instance is optional. This fully compensates for the lack of schema descriptions.

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 verb ('List') and resource ('DAGs') with specific attributes ('pause state + UI link') and target scope ('for the target instance'). It distinguishes from siblings like airflow_list_dag_runs and airflow_list_task_instances by focusing specifically on DAGs rather than runs or task instances.

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 provides clear context about when to use this tool ('List DAGs... for the target instance') and includes parameter guidance about mutual exclusivity and precedence. However, it doesn't explicitly state when NOT to use it or name specific alternatives among the sibling tools for different use cases.

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/madamak/apache-airflow-mcp-server'

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