Skip to main content
Glama

upload_dag_bundle

Upload 1–200 relative Python filenames with actual source, exported incident context and up to 1 MiB logs. 1 MB/file, 10 MiB source total, 12 MiB bundle. Source/logs retained 24h. Never imports or executes DAGs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "files": "<files>"
    },
    "name": "upload_dag_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
logsNo
filesYes
airflow_versionNo3.3
runtime_contextNo
suggest_patchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing hard size ceilings (1 MB/file, 10 MiB source, 12 MiB bundle) and a 24h retention window, plus the important safety guarantee that DAGs are never imported or executed despite the upload being a write. It stops short of saying what happens on re-upload of the same bundle or on exceeding a limit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, all load-bearing: payload description, hard limits, retention and the no-execution guarantee. Limits and safety are front-loaded rather than buried.

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?

For a write tool with no output schema and five undocumented parameters, the definition covers payload shape, constraints and safety but omits the key behavioral unknowns: what the call returns, whether uploads are idempotent or replace prior bundles, and how airflow_version and suggest_patches alter results.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, so the description carries the full burden and only partly compensates: it explains the files payload shape and the logs cap, and hints at runtime_context via 'exported incident context'. It says nothing about airflow_version or suggest_patches, which are likely to change output behavior significantly.

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?

States a concrete verb and resource: upload of relative Python filenames plus source, incident context and logs. The scope (1-200 files, bundle limits) makes the operation unambiguous, but it never names the sibling preview_dag_bundle, so the boundary between previewing and actually uploading is left for the agent to infer.

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?

There is no statement of when to call this versus preview_dag_bundle or start_dag_diagnosis, and no prerequisites (e.g. whether a bundle must be uploaded before a diagnosis can run). The description only characterizes the payload, leaving the routing decision entirely to the agent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources