Skip to main content
Glama

generate_video_with_tts

Generates a video from a text prompt and adds text-to-speech audio in one call, letting you create narrated videos without separate TTS and video generation steps.

Instructions

Generates a video with text-to-speech audio in one call

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": {
      "ai_model_id": "<ai_model_id>",
      "text_prompt": "<text_prompt>",
      "voice_id": "<voice_id>",
      "speech_text": "<speech_text>"
    },
    "name": "generate_video_with_tts"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedNoSpeech speed multiplier
voice_idYesID of the voice to use for TTS
stabilityNoVoice stability (0-1)
resolutionNoVideo resolution (e.g., 540p, 720p)
ai_model_idYesID of the video AI model to use
speech_textYesText to convert to speech for the video
text_promptYesText prompt describing the video content
aspect_ratioNoVideo aspect ratio (16:9, 9:16, 1:1)
start_keyframe_idNoID of an uploaded image asset to use as keyframe

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
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 behavioral burden, and it discloses almost nothing beyond 'one call'. For a generation tool with a sibling get_generation_status and get_credits, an agent needs to know whether this is async and returns a job ID, whether it consumes credits, how long it takes, and what happens on failure — none of which is mentioned.

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 or repetition. It is efficient, though the terseness borders on under-specification given the tool's complexity rather than excess.

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?

With 9 parameters, no output schema and no annotations, the definition should explain at minimum that generation is long-running and how results are retrieved, plus any cost or asset prerequisites implied by start_keyframe_id. None of that is present, leaving an agent able to name the tool but uncertain how to complete an actual workflow with it.

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 100% with 9 well-named params, so the schema already documents voice_id, stability, speed, resolution, aspect_ratio and start_keyframe_id. The description adds no meaning beyond the schema, which is the expected baseline when structured fields do the work.

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?

The description gives a specific verb ('Generates') and a compound resource ('a video with text-to-speech audio'), which tells an agent this is the combined video+TTS operation rather than either single-modality tool. It does not explicitly name generate_video or generate_text_to_speech as the alternatives, so the differentiation is implied rather than stated.

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 phrase 'in one call' hints that this tool is the efficient option when both a video and narration are needed, but the description never says when to prefer it over calling generate_video and generate_text_to_speech separately, nor does it state any prerequisites. Usage is inferable from the name and description but not spelled out.

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