Skip to main content
Glama

Download Google Flow Job Files

flow_download_job
Idempotent

Download or re-download the tracked output files of an existing Google Flow job into its output directory. Use when media files must be retrieved again for a ready or completed job.

Instructions

Download or re-download the exact tracked output files for an existing Google Flow job into its outputDir. Call when media files need to be retrieved again for a ready or completed job.

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": {
      "jobId": "<jobId>"
    },
    "name": "flow_download_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesExact UUID of the Flow job whose assets should be downloaded.

Output Schema

NameRequiredDescriptionDefault
errorNoHuman-readable failure summary when failed.
filesYesSaved output files with absolute paths and metadata.
jobIdYesUnique job UUID to poll with flow_job_status.
modelNoRequested model ID.
statusYesNormalized job status.
progressYesEstimated completion percentage (0-100).
accountIdYesLocal account ID used for the job.
errorCodeNoMachine-readable error code when failed.
mediaTypeYesGenerated media type.
aspectRatioNoRequested aspect ratio.
detailStatusYesDetailed internal pipeline state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare idempotent=true and destructive=false; the description reinforces this with 're-download' and adds non-obvious context the annotations lack: files are written to the job's outputDir and the job must be ready or completed. It does not address overwrite behavior for existing files or any auth/rate considerations, keeping it short of full transparency.

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?

Two sentences, both earning their place: the first states action, target, and destination; the second states the invocation condition. Nothing is redundant or buried.

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?

An output schema exists, so return values need no explanation, and the schema fully covers the lone parameter. The description supplies the remaining essentials an agent needs: the destination directory and the required job state.

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?

Schema description coverage is 100%, so the single jobId parameter (exact UUID) is already fully documented. The description adds only the constraint that the job must exist and be ready/completed, not any additional format or interpretation detail. Baseline 3 is appropriate.

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 uses a specific verb pair ('Download or re-download') with a precisely scoped resource ('the exact tracked output files for an existing Google Flow job') and states the destination ('into its outputDir'). It implicitly distinguishes itself from generation/listing siblings by emphasizing retrieval of already-tracked outputs, though no sibling is named explicitly.

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?

It gives an explicit trigger condition: call 'when media files need to be retrieved again for a ready or completed job.' This tells the agent both the scenario (re-retrieval) and the required job state. It does not state when not to use it or name a specific alternative tool.

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