Skip to main content
Glama

Check an async task

get_task
Read-only

Check the status of an asynchronous generation task submitted by generate_video, generate_music, generate_lyrics, extend_music, or generate_image with async=true. Pass the platform and task_id exactly as they were returned. Status is one of queued, in_progress, completed or failed; poll every few seconds until it settles, or pass wait_seconds to have the server wait for you.

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

Input Schema

NameRequiredDescriptionDefault
task_idYesTask identifier returned by the submit tool.
platformYesPlatform the task belongs to, exactly as returned by the submit tool: image, video, suno or producer.
wait_secondsNoPoll server-side for up to this many seconds (max 240) and return once the task finishes. Omit for a single immediate status check.

Output Schema

NameRequiredDescriptionDefault
rawNoBackend payload, for details this summary does not cover (lyrics text, per-clip metadata, seeds).
noteNoWhat to do next.
statusYesOne of: queued, in_progress, completed, failed, unknown.
task_idYesThe task this status refers to.
platformYesPlatform the task belongs to.
progressNoProgress indication, when the backend reports one.
fail_reasonNoWhy the task failed, when status is failed.
result_urlsNoFinished asset URLs. May expire; download anything worth keeping.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds valuable context such as the possible statuses (queued, in_progress, completed, failed), the requirement to pass identifiers exactly as returned, and the behavior of wait_seconds. This goes beyond the schema without contradicting the annotations.

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?

The description is only three sentences, with the purpose front-loaded and no redundant information. Each sentence earns its place: purpose, identifier handling, and polling/waiting behavior.

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?

The output schema already documents return values, so the description needn't repeat them. It covers the source tools, the async=true prerequisite, status outcomes, and polling/waiting options, making it complete for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds operational meaning by instructing the user to pass platform and task_id exactly as returned and explaining that wait_seconds causes the server to wait up to that duration, thereby enriching the parameter definitions.

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?

The description clearly identifies the tool as checking the status of an asynchronous generation task, explicitly naming the submitting tools (generate_video, generate_music, etc.). It uses a specific verb ('check') and resource ('status of an asynchronous generation task'), and is easily distinguishable from unrelated sibling tools.

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?

The description explicitly states when to use this tool: for tasks submitted by the listed generation tools with async=true. It also gives clear polling guidance ('poll every few seconds until it settles') and explains the alternative of using wait_seconds for server-side waiting, which helps an agent decide on the best invocation strategy.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources