clear_dag_run
Clear a specific DAG run in Apache Airflow to remove task instances and reset execution status for rerunning workflows.
Instructions
Clear a DAG run
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| dag_run_id | Yes | ||
| dry_run | No |
Clear a specific DAG run in Apache Airflow to remove task instances and reset execution status for rerunning workflows.
Clear a DAG run
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| dag_run_id | Yes | ||
| dry_run | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. 'Clear a DAG run' implies a destructive mutation but doesn't specify what 'clear' entails (e.g., deletion, state reset, data removal), whether it's reversible, what permissions are needed, or any side effects. This is inadequate for a mutation tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at just three words, with no wasted language. It's front-loaded with the core action, though this brevity comes at the cost of clarity and completeness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description is completely inadequate. It doesn't explain what 'clear' means, when to use it, what the parameters do, or what to expect in return, leaving critical gaps for agent understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, meaning none of the 3 parameters (dag_id, dag_run_id, dry_run) are documented in the schema. The description adds no information about these parameters—not their purposes, formats, or examples—failing to compensate for the complete lack of schema documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Clear a DAG run' is essentially a tautology that restates the tool name. It specifies the verb 'clear' and resource 'DAG run', but lacks specificity about what 'clear' means operationally (e.g., delete, reset, remove data). It doesn't distinguish from sibling tools like 'delete_dag_run', leaving ambiguity about their differences.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. With sibling tools like 'delete_dag_run', 'clear_task_instances', and 'set_task_instances_state', the description offers no context on appropriate use cases, prerequisites, or exclusions, leaving the agent to guess based on naming alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yangkyeongmo/mcp-server-apache-airflow'
If you have feedback or need assistance with the MCP directory API, please join our Discord server