Skip to main content
Glama

get_image_task

Check the status of an image generation task and retrieve its image URLs once the task succeeds.

Instructions

Fetch one image task's status; includes image_urls once SUCCEEDED.

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": {
      "task_id": "<task_id>"
    },
    "name": "get_image_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does disclose one meaningful trait: image_urls appear only once the task is SUCCEEDED, telling the agent the response shape is state-dependent. It omits other state names (pending/running/failed), behavior for an unknown or expired task_id, and whether results are retained indefinitely.

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?

A single front-loaded sentence with no filler, and the state-dependent return caveat is placed immediately after the operation. It is arguably too terse for the gaps above, but nothing in it is wasted.

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?

The tool is simple (one required parameter) and an output schema exists, so return values need not be described. What is missing is operational context an agent needs to call it well: the status lifecycle and the polling pattern relative to submit_image_task.

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 0% for the single task_id parameter, and the description adds no guidance on its origin or format (e.g., the id returned by submit_image_task). The name is largely self-explanatory, but the description does nothing to compensate for the coverage gap.

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?

"Fetch one image task's status" gives a specific verb and resource with explicit single-task scope, which separates it from bulk or submission siblings like submit_image_task. It does not explicitly name get_video_task or cancel_image_task as the contrasting alternatives, so it falls short of a 5.

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 stated when-to-use guidance: nothing says this should be polled after submit_image_task, how often to poll, or that it is not for cancellation (cancel_image_task) or retrieval of video tasks. Usage is only inferable from the tool's purpose, which matches the calibration for 'no guidance'.

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