Skip to main content
Glama
astronomer

astro-airflow-mcp

Official
by astronomer

explore_dag

Retrieve comprehensive details of any Airflow DAG in one call, including metadata, tasks, dependencies, source code, and errors. Ideal for understanding DAG structure and diagnosing issues without multiple API requests.

Instructions

Comprehensive investigation of a DAG - get all relevant info in one call.

USE THIS TOOL WHEN you need to understand a DAG completely. Instead of making multiple calls, this returns everything about a DAG in a single response.

This is the preferred first tool when:

  • User asks "Tell me about DAG X" or "What is this DAG?"

  • You need to understand a DAG's structure before diagnosing issues

  • You want to know the schedule, tasks, and source code together

Returns combined data:

  • DAG metadata (schedule, owners, tags, paused status)

  • All tasks with their operators and dependencies

  • DAG source code

  • Any import errors or warnings for this DAG

Args: dag_id: The ID of the DAG to explore

Returns: JSON with comprehensive DAG information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Describes returned data (metadata, tasks, source code, errors) and states it combines multiple pieces in one call. With no annotations, this provides good transparency, but does not explicitly declare read-only nature.

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?

Well-structured with sections for purpose, usage, args, returns. Slightly verbose in usage section but still efficient.

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 one parameter, no annotations, and output schema exists, the description comprehensively covers purpose, usage, parameter, and return data.

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 has 0% description coverage, but description includes 'Args: dag_id: The ID of the DAG to explore', fully clarifying the parameter's purpose.

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?

Description clearly states 'Comprehensive investigation of a DAG - get all relevant info in one call' with specific verb and resource. It distinguishes from siblings by noting it avoids multiple calls and is the preferred first tool.

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?

Provides explicit when-to-use scenarios: when user asks 'Tell me about DAG X' or needs to understand structure before diagnosis. Does not explicitly exclude cases where a more specific tool is better, but implies general context.

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