Skip to main content
Glama
astronomer

astro-airflow-mcp

Official
by astronomer

list_dag_warnings

Get warnings and issues detected in DAG definitions to identify configuration problems and deprecations in your Airflow workflows.

Instructions

Get warnings and issues detected in DAG definitions.

Use this tool when the user asks about:

  • "Are there any DAG warnings?" or "Show me DAG issues"

  • "What problems exist with my DAGs?" or "Any DAG errors?"

  • "Check DAG health" or "Show me DAG validation warnings"

  • "What's wrong with my workflows?"

Returns warnings about DAG configuration issues including:

  • dag_id: Which DAG has the warning

  • warning_type: Type of warning (e.g., deprecation, configuration issue)

  • message: Description of the warning

  • timestamp: When the warning was detected

Returns: JSON with list of DAG warnings and their details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must cover behavior. It states it returns warnings and lists the fields, but omits details like whether it is read-only, required permissions, or potential rate limits. The output schema reduces the burden slightly.

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?

The description is fairly verbose with bullet-like examples and listing return fields. It could be more concise while maintaining clarity. The structure is functional but not optimized.

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?

Given the tool's simplicity (no parameters, output schema exists), the description covers the output fields and use cases adequately. It could mention whether warnings are cumulative or from a specific time period.

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?

The input schema has zero parameters with 100% coverage, so the description does not need to add parameter info. It correctly derives a baseline of 4.

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 it retrieves warnings and issues from DAG definitions. The usage examples explicitly list user queries that map to this tool, distinguishing it from siblings like list_dag_runs or list_import_errors.

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 explicit when-to-use scenarios with natural language examples. However, it does not mention when not to use this tool or explicitly compare to alternatives like list_import_errors.

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