Skip to main content
Glama

submit_video_task

Starts a video-generation task without waiting and returns a task_id; poll progress with get_video_task or cancel with cancel_video_task.

Instructions

Submit a video-generation task without waiting; returns task_id.

Poll with get_video_task, or cancel with cancel_video_task.

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": {
      "prompt": "<prompt>"
    },
    "name": "submit_video_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo
modelNowan2.2-t2v-plus
ratioNo
promptYes
durationNo
image_urlNo
resolutionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden; it does disclose the most important trait (non-blocking submission) and the returned handle, which is real added value. However, it says nothing about authentication, model/parameter constraints, rate limits, failure modes, or what happens to the task if the client disconnects.

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, both load-bearing: the first defines the action and result, the second defines the follow-up workflow. Nothing is redundant and the key asynchronous behavior is front-loaded.

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

Completeness2/5

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

An output schema exists so return values needn't be described, but six optional parameters (including model selection and image_url, which materially change generation mode) are entirely unexplained in both schema and description. For a 7-parameter generation tool this leaves an agent guessing at correct invocation.

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 description coverage is 0% across 7 parameters, so the description must compensate and it does not — size, model, ratio, duration, image_url, and resolution receive no mention or meaning beyond their bare titles and defaults. Only 'prompt' is implicitly referenced via the tool's purpose, leaving most of the input surface undocumented.

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 and resource ('Submit a video-generation task') plus the key differentiator 'without waiting', making the asynchronous nature unmistakable and adding the concrete return value 'task_id'. It does not explicitly contrast with the blocking-style sibling generate_video, so an agent still has to infer which submission path to use.

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

Usage Guidelines4/5

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

Gives explicit follow-up routing: poll with get_video_task, cancel with cancel_video_task, which defines the full lifecycle after submission. It stops short of stating when NOT to use this tool (e.g., when a synchronous result is wanted from generate_video), so the alternative-path guidance is incomplete.

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