Skip to main content
Glama

Generate a fake-text chat story video

generate_fake_text_video
Destructive

CREATES a fake-text video: a phone chat conversation that types itself out over a gameplay or green-screen background, every line read aloud in the voice you pick for that side. YOU WRITE THE SCRIPT: there is no writer behind this endpoint, and the messages array you send IS the conversation, in that order, one {text, from} per chat bubble (get_recipe fake-text has the format advice and a worked example). Show it to the user as plain text before spending anything. AFTER: this one call makes the finished video (the answer carries the price split and renders_automatically: true; no fire or render step). Wait with wait_for_generation; when terminal get_video carries the file url. start_confirmed: false means the job exists: do not create it again, watch it (get_recipe fake-text). COST: quoted per character of dialogue, in two parts that are both charged: call estimate_only: true first and state estimated_tokens (the total). A longer script costs more, AND SO DOES THE VOICE PROVIDER (ElevenLabs is about four times openai per character): change a provider and re-run estimate_only; never carry an older quote across that change. NOT OFFERED (say so rather than approximating it): music, chosen gameplay clips, images or sound effects in the chat, contact photos, a second chat, the cantina skin. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules). idempotency_key: IDEMPOTENCY (this server's instructions).

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": {
      "messages": "<messages>",
      "contact_name": "<contact_name>"
    },
    "name": "generate_fake_text_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoThe language the conversation is written in, by name ('English', 'German'); default English. Write `messages` in it too: this labels the script, it does not translate it.
messagesYesThe conversation, in order, one entry per chat bubble. This is the script, and you write it.
templateNoThe chat app skin. Defaults to `imessage`.
backgroundNo`random` (a gameplay clip, the usual choice) or `greenscreen` (plain, to key out later). Default `random`.
voice_leftNoThe voice for the LEFT side. The voice id, in the provider named by `voice_provider_*` (omit for its first voice). openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (retired `onyx`, `nova`, `fable` still work). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (`usable_for: 'audio', limit: 100`; read `has_more`). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_image_story`; `generate_audio` cannot.
voice_rightNoThe voice for the RIGHT side: same rules as `voice_left`.
aspect_ratioNoDefaults to `9:16`, the vertical shape every short-form platform wants.
contact_nameYesThe name at the top of the phone screen: who the owner is texting ('Mom', 'Jake ❤️').
estimate_onlyNoPrice only; creates nothing.
idempotency_keyNoRetry key (IDEMPOTENCY).
voice_speed_leftNoThe LEFT side's reading speed. 1 normal (default), 1.15 fast, 1.25 very fast. Faster makes the video shorter and costs nothing extra (the price is per character).
voice_speed_rightNoThe RIGHT side's reading speed: as `voice_speed_left`.
notification_soundsNoPlay a message tone as each bubble arrives. Defaults to true.
voice_provider_leftNoWho reads the LEFT side. `elevenlabs` is the web app's default, `openai` is cheaper and covers every language with the same eight voices. Defaults to `openai`. IT CHANGES THE PRICE: ElevenLabs costs about four times openai per character, so call `estimate_only` again after changing it.
voice_provider_rightNoWho reads the RIGHT side: same choices and price rule as `voice_provider_left`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / voice_left / description
      Previous value: -"The voice for the LEFT side. Pick two different voices so the two people sound different (there is no silent option). The voice id, in the provider named by `voice_provider_*` (omit for its first voice). openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (retired `onyx`, `nova`, `fable` still work). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (`usable_for: 'audio', limit: 100`; read `has_more`). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_image_story`; `generate_audio` cannot."New value: +"The voice for the LEFT side. The voice id, in the provider named by `voice_provider_*` (omit for its first voice). openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (retired `onyx`, `nova`, `fable` still work). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (`usable_for: 'audio', limit: 100`; read `has_more`). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_image_story`; `generate_audio` cannot."
  2. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Retry-safety key (IDEMPOTENCY)."New value: +"Retry key (IDEMPOTENCY)."
  3. Changed3 schema fields changed
    • changedInput schema / properties / messages / items / properties / from / description
      Previous value: -"Which side of the phone: `right` is the phone's owner (the person the viewer is), `left` is who they text. Keep one speaker on one side."New value: +"`right` is the phone's owner (the viewer), `left` is who they text. One speaker, one side."
    • changedInput schema / properties / messages / items / properties / text / description
      Previous value: -"What this person says: one chat bubble. Emoji show in the bubble but are stripped before the line is spoken, so carry no meaning in them alone."New value: +"One chat bubble. Emoji show but are not spoken, so carry no meaning in them alone."
    • changedInput schema / properties / voice_left / description
      Previous value: -"The voice for the LEFT side. Pick two different voices so the two people sound different (there is no silent option). The voice id for this side, in the provider named by `voice_provider_*` (omit for that provider's first voice). openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (retired `onyx`, `nova`, `fable` still work, speaking as `ash`, `shimmer`, `alloy`). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (stock, cloned or custom voices; PAGED: pass `usable_for: 'audio', limit: 100` and read `has_more` before saying a voice does not exist). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_image_story`; `generate_audio` cannot."New value: +"The voice for the LEFT side. Pick two different voices so the two people sound different (there is no silent option). The voice id, in the provider named by `voice_provider_*` (omit for its first voice). openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (retired `onyx`, `nova`, `fable` still work). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (`usable_for: 'audio', limit: 100`; read `has_more`). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_image_story`; `generate_audio` cannot."
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial context the annotations do not: the price is per character split across two charged parts, the voice provider changes the price ~4x, an older quote cannot be carried across a provider change, and there is no separate render/fire step. It also explains the `start_confirmed: false` job-exists case and the full NOT OFFERED list, which is exactly the kind of guardrail a destructive/openWorld generation tool needs.

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?

Front-loaded with the strongest fact (CREATES a video) and structured into labelled blocks (YOU WRITE THE SCRIPT, AFTER, COST, NOT OFFERED, SPENDS TOKENS). It is on the long side and repeats the provider price rule already stated in the schema, plus carries dense ALL-CAPS prose, but nearly every sentence carries distinct operational information.

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?

For a 15-parameter, no-output-schema, token-spending generation tool this covers everything an agent needs: async job semantics, terminal-state lookup via `get_video`, what the create response contains (`renders_automatically: true`, price split), cost model, approval flow, and explicit exclusions. Nothing material is left unexplained.

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 still earns a bump by tying `messages` to cost (longer script costs more), to a pre-approval flow (show as plain text before spending), and by pointing to `get_recipe` for the bubble format. Some content, notably the ElevenLabs price note, is duplicated between description and the `voice_provider_left` schema text rather than adding new meaning.

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?

Names a specific verb and resource ('CREATES a fake-text video: a phone chat conversation that types itself out over a gameplay or green-screen background') and immediately distinguishes scope from siblings by listing what it will NOT do (music, chosen clips, contact photos, second chat, cantina skin). An agent can tell this apart from generate_image_story, generate_story_video and generate_audio without opening any schema.

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?

Gives an explicit ordered workflow and the conditions that trigger each step: call `estimate_only: true` first, state `estimated_tokens` in the same message as the ask, wait for approval naming THIS purchase, then `wait_for_generation` and `get_video`. It also names the specific escape hatch for format advice (`get_recipe` `fake-text`) and the spending-rules recipe.

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.