Skip to main content
Glama
call518

MCP-Airflow-API

by call518

get_variable

Fetch the value of a specific Airflow variable by exact key to retrieve configuration settings without dealing with API complexity.

Instructions

[Tool Role]: Gets the value of a specific variable.

Args: variable_key: Exact key of the Airflow variable.

Input Schema

NameRequiredDescriptionDefault
variable_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.7.2
  2. Removedv3.6.5
  3. Changed2 schema fields changedv3.6.6
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / variable_key / title
      Removed value: -"Variable Key"
  4. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral load. 'Gets' implies a read operation, and it specifies that the variable key must be exact, but it does not describe behavior for missing variables, permissions, or whether sensitive values are returned.

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 short and front-loads the core purpose. The 'Tool Role' and 'Args' formatting is slightly mechanical but does not add unnecessary length.

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?

An output schema exists, so return-value details are not needed in the description. However, as an unannotated getter, it should ideally mention missing-key behavior or sensitivity of returned values; the definition is adequate but not fully complete.

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?

Schema description coverage is 0%, but the single parameter is meaningfully described as the 'Exact key of the Airflow variable.' This adds useful semantic context beyond the bare string type in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Gets the value of a specific variable.' This clearly distinguishes it from listing tools such as list_variables, though it does not explicitly name list_variables as the discovery alternative.

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

Usage Guidelines2/5

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

It implies the tool is used when the exact variable key is known, but gives no explicit guidance on when to use it versus list_variables for discovery. No prerequisites, exclusions, or alternative routing are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.