Skip to main content
Glama

Viewer: job/batch preview

flow_preview
Read-only

Polls Google Flow job progress and fetches thumbnails for the inline viewer; for model status checks, use flow_get_queue_status instead.

Instructions

Used by the inline Google Flow viewer to poll progress and fetch thumbnails. Not needed by the model; use flow_get_queue_status instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "flow_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo
batch_idNo
thumbnails_forNoBatch only: job ids whose thumbnails should be included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the useful context that this is a viewer-internal polling endpoint, but says nothing about polling cadence, return shape, or how job_id/batch_id interact.

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 short sentences, zero waste, with the audience constraint and the alternative front-loaded. Nothing redundant.

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 3-parameter tool with no output schema and low schema coverage, the description should clarify the job_id/batch_id relationship and what polling returns. It covers audience and purpose adequately but leaves the parameter model underspecified.

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 coverage is only 33% and the description adds no meaning for job_id or batch_id, including whether they are mutually exclusive or which one selects job vs batch mode. Only thumbnails_for is documented, and that documentation lives in the schema, not the description.

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 specific verb pair (poll progress, fetch thumbnails) and the resource (inline Google Flow viewer), and explicitly contrasts with the sibling flow_get_queue_status. An agent can tell what it does and that it is viewer-facing, though 'poll progress' is slightly abstract.

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?

Explicitly says 'Not needed by the model' and names the alternative to use instead (flow_get_queue_status). This is a clear when-not-to-use directive plus a named substitute, leaving nothing to inference.

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