Skip to main content
Glama

extend_video

Extend a completed video by generating additional footage from a prompt. Specify start time and duration, then receive a task ID and output URLs.

Instructions

Create a Grok Imagine task on RunAPI (extend video). Returns a task id, status, and output URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
promptYesVideo continuation prompt.
timeout_msNo
callback_urlNoWebhook URL for terminal Task delivery.
start_secondsYesSource video position in seconds where extension begins.
source_task_idYesCompleted prior Grok Imagine video Task ID.
poll_interval_msNo
extension_duration_secondsYesExtension duration in seconds.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only states it creates a task and returns ids/status/URLs, but does not disclose important behavior such as it being asynchronous, the ability to poll (wait, poll_interval_ms), or webhook support. This is a significant gap for a task-creation tool.

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 a single concise sentence that front-loads the purpose and includes return value info. Every word earns its place, with no unnecessary fluff or repetition.

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?

The tool has 8 parameters, no output schema, and no annotations. The description explains the core purpose and return values, but lacks crucial context about async behavior, how to retrieve results (get_task), and the effect of the wait flag. This is incomplete for a complex task-creation tool.

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 75%, with most parameters already having clear descriptions. The description adds no additional parameter semantics beyond the context of 'extend video'. Since coverage is moderate and not low, a baseline of 3 is appropriate; the schema handles parameter documentation.

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 states 'Create a Grok Imagine task on RunAPI (extend video)', which is a specific verb+resource+scope. It distinguishes from siblings like text_to_video and image_to_video by explicitly saying 'extend video'. Also mentions it returns task id, status, and output URLs.

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

Usage Guidelines3/5

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

The description implies usage for extending an existing video via 'extend video', but it does not explicitly state when to use this tool vs alternatives or provide exclusions. There is no mention of prerequisites like needing a completed prior task, which is only in the schema. Thus, usage guidance is implied, not explicit.

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/runapi-ai/grok-imagine-mcp'

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