Skip to main content
Glama

Generate video (HyperFrames)

grok_generate_video

Render a video through the workspace video connector (default hyperframes. AI-authored motion graphics rendered in the platform sandbox). Pass audio_job_id (from grok_generate_audio) or audio_path to mux narration under the video. Paid, metered render that runs in the background: returns immediately with render_id, call grok_render_status for progress and the result path.

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": {
      "brief": "<brief>"
    },
    "name": "grok_generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefYesWhat the video should look like, plain-English direction for the motion graphics.
styleNoOptional style hint, e.g. "bold kinetic type, dark background".
connectorNoVideo provider, default "hyperframes".
audio_pathNopodcast-audio storage path to use as narration instead.
audio_job_idNoPodcast job id (uuid), muxes its episode audio under the video.
transcript_idNopodcast_transcripts id (uuid), recorded as the render's source for lineage.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNoPresent only when ok is false.
run_idNo
statusNo
connectorNo
render_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / audio_job_id / description
      Previous value: -"Podcast job id (uuid) — muxes its episode audio under the video."New value: +"Podcast job id (uuid), muxes its episode audio under the video."
    • changedInput schema / properties / brief / description
      Previous value: -"What the video should look like — plain-English direction for the motion graphics."New value: +"What the video should look like, plain-English direction for the motion graphics."
    • changedInput schema / properties / connector / description
      Previous value: -"Video provider — default \"hyperframes\"."New value: +"Video provider, default \"hyperframes\"."
    • changedInput schema / properties / transcript_id / description
      Previous value: -"podcast_transcripts id (uuid) — recorded as the render's source for lineage."New value: +"podcast_transcripts id (uuid), recorded as the render's source for lineage."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond annotations: the render is paid and metered, runs in the background, returns immediately with a render_id, and audio is muxed under the video. This tells an agent everything needed to set expectations for an async, costly operation.

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?

Three dense sentences with no filler, front-loading the render action, then audio muxing, then the async cost/status behavior. Every sentence carries operational information.

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?

Covers the async lifecycle, cost implications, and audio/lineage inputs for a six-parameter tool with an output schema. Minor gap is not explicitly stating what the output contains, but the output schema and render_id mention cover it adequately.

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 baseline is 3, but the description adds relational meaning: audio_job_id is sourced from grok_generate_audio, audio_path is an alternative narration source, and transcript_id is for lineage. These connections go beyond the schema's field-level text.

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?

States a specific verb (render) and resource (video) plus the connector, and distinguishes itself from siblings by naming grok_generate_audio as the audio source and grok_render_status as the progress tool.

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?

Clearly explains that audio is muxed by passing audio_job_id from grok_generate_audio or an audio_path, and that progress is tracked via grok_render_status. It does not state explicit when-not-to-use conditions, but the routing to siblings is clear.

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