Skip to main content
Glama

flux_get_task

Check completion status and retrieve image URLs for Flux image generation tasks by querying the task ID.

Instructions

Query the status and result of a Flux image generation task.

Use this to check if a generation is complete and retrieve the resulting image URLs and metadata.

Use this when:

  • You want to check if an image generation has completed

  • You need to retrieve image URLs from a previous generation

  • You used async callback and want to check results later

  • The initial generation returned a task_id without immediate results

Returns: Task status and generation result including image URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe task ID returned from a generation or edit request. This is the 'task_id' field from any flux_generate_image or flux_edit_image tool response.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. Explains the async polling pattern and relationship to generation tasks well. However, lacks explicit safety disclosure (read-only nature) or error scenarios (e.g., invalid task_id handling) that would be necessary for a full behavioral profile.

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?

Well-structured with clear sections: purpose declaration, usage explanation, conditional bullet points, and return value summary. Front-loaded with key action. Minor redundancy between first and second sentences, but overall efficient given the complexity of the async workflow being explained.

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?

Given the output schema exists (per context signals), the brief return description is acceptable. Covers the essential async workflow pattern and task lifecycle. Could mention error states or batch retrieval alternative (flux_get_tasks_batch), but sufficient for agent invocation decisions.

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 coverage is 100%, establishing baseline 3. The description contextualizes task_id usage in the bullet points ('initial generation returned a task_id'), but does not add syntax, format constraints, or examples beyond what the schema already provides.

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?

Opens with specific verb 'Query' and clear resource 'Flux image generation task', specifying scope (status and result). Effectively distinguishes from sibling generation tools by positioning this as the retrieval/polling mechanism versus the creation mechanism.

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?

Explicit 'Use this when:' section with four specific scenarios that clearly differentiate this from flux_generate_image and flux_edit_image, explicitly mentioning the async callback pattern and task_id workflow. Provides clear guidance on when to prefer this over immediate-return paths.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/MCPFlux'

If you have feedback or need assistance with the MCP directory API, please join our Discord server