Skip to main content
Glama

Check Google Flow Job Status

flow_job_status
Read-onlyIdempotent

Tracks a Google Flow job by jobId, checking queued, running, done, or failed status, progress percentage, and downloaded files. Poll it until completion to avoid resubmitting a running prompt.

Instructions

Poll the status (queued, running, done, failed), progress percentage, and downloaded files of a Google Flow job. Call repeatedly with the same jobId until done or failed; never resubmit a running prompt.

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_job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesExact job UUID returned by flow_generate_image or flow_generate_video.
waitSecondsNoMaximum seconds (0-25) to wait for an update; pass 0 for an instant local check without opening a browser.

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.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so safety is covered. The description adds non-obvious behavior: it is a polling tool expected to be invoked repeatedly against a stable jobId, it exposes a finite state machine of statuses, and it surfaces downloaded files. It does not discuss timing/backoff beyond the schema's waitSeconds, or what a browser-opening call costs.

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 load-bearing: the first defines the observable output, the second defines the calling loop. The polling constraint is front-loaded and nothing is repeated from the schema.

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

Completeness4/5

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

With a full output schema and rich annotations, the description covers purpose, expected output fields, and polling protocol. The only gap is operational detail such as recommended cadence or what a failed job leaves behind, which the waitSeconds default partly implies but is not stated.

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%: jobId's UUID format and source tools, plus waitSeconds' range and the meaning of 0, are all documented in the schema. The description only reinforces that the same jobId must be reused across calls, adding marginal meaning beyond structured fields, so baseline 3 applies.

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?

States a specific verb (poll) plus the resource (a Google Flow job) and enumerates the returned statuses (queued, running, done, failed), progress percentage, and downloaded files. This clearly separates it from flow_list_jobs (enumeration) and flow_download_job (artifact retrieval).

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

Usage Guidelines5/5

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

Gives explicit call protocol: repeatedly poll with the same jobId until done or failed, and never resubmit a running prompt. The terminal-condition loop and the prohibition are exactly the operational guidance an agent needs, leaving little to inference.

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