Skip to main content
Glama
ssasuoirafen

airflow-mcp-server

by ssasuoirafen

list_task_instances

Read-only

Retrieve task instances for a specific DAG run, showing their states and timings. Optionally filter by task state to focus on failures or other statuses.

Instructions

List task instances in a DAG run, with their states and timings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYesThe DAG.
dag_run_idYesThe run to inspect.
limitNoMax task instances to return (Airflow caps this at 100).
offsetNoTask instances to skip.
stateNoFilter by task state, e.g. ["failed", "upstream_failed"].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_instancesNo
total_entriesNo
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is clear. The description adds that it returns states and timings, but does not elaborate on pagination behavior, filtering capabilities, or any other operational traits. With annotations covering the read-only nature, the description provides minimal extra behavioral context.

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 a single sentence with 8 words, front-loading the key action. It is concise and avoids fluff, but it is at the edge of being too terse.

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

Completeness3/5

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

Given the tool has 5 parameters and an output schema, the description is minimal. It does not mention filtering by state, pagination, or limits. The output schema likely documents return values, so the description is adequate but incomplete for a full understanding without consulting the schema.

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

Parameters3/5

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

The input schema has 100% description coverage, so all parameters are already documented in the schema. The tool description does not add any additional meaning or usage hints beyond what is in the schema, such as explaining the limit cap or state filtering. Baseline is 3 because schema covers the parameters.

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 tool lists task instances within a DAG run and mentions it returns states and timings. This distinguishes it from siblings like get_task_instance (single) and clear_task_instances (delete). The verb 'list' and resource 'task instances' are specific.

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

Usage Guidelines3/5

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

No explicit guidance on when to use this tool versus alternatives such as get_task_instance or list_dag_runs. The context is implied by the name and description, but there are no when-not-to-use instructions or sibling comparisons.

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

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