Skip to main content
Glama

Render a txtreel video

chat_render_video

Render a txtreel conversation (script or messages) to an MP4 and wait for it to finish. This queues a render, waits for it, and returns once it is done (or after failing/timing out). A short render (a handful of messages) typically takes 20-60 seconds.

Returns a public link to the MP4; the file is deleted after 24 hours. If txtreel is busy or you hit the rate limit, the result is an error with the message.

Conversation script format (one event per line):

them: hey, you up? me: yeah why [pause 1.5] wait 1.5 s --- Today 9:41 PM date/time separator me: [photo URL] caption a photo (URL, local file path, or an uploaded photo's number) [them reacts ❤️] reaction on my last message [read] they read my messages === everything above is already on screen at the start === scroll 3 same, but open on the oldest message and skim down in 3 s

comment

"Name: text" also means "them" when Name matches contact.name (e.g. contact.name "Sam" lets you write "Sam: omg" instead of "them: omg"). A literal "\n" inside a message becomes a line break. Lines starting with # are comments.

Photos: "me: [photo https://example.com/image.jpg] optional caption" (https URLs only; local file paths are not available). "=== scroll 3" opens on the oldest message of a longer history and skims down to the live part in 3 s. With keyboard true (the default), the newest messages stay above the area where the Reels caption sits.

Input Schema

NameRequiredDescriptionDefault
speedNoPacing multiplier; 2 = twice as fast, 0.5 = half speed. Default: 1.
themeNoColor theme, "light" or "dark". Default: light.
scriptNoConversation as a plain-text script. Use this OR messages, not both. Conversation script format (one event per line): them: hey, you up? me: yeah why [pause 1.5] wait 1.5 s --- Today 9:41 PM date/time separator me: [photo URL] caption a photo (URL, local file path, or an uploaded photo's number) [them reacts ❤️] reaction on my last message [read] they read my messages === everything above is already on screen at the start === scroll 3 same, but open on the oldest message and skim down in 3 s # comment "Name: text" also means "them" when Name matches contact.name (e.g. contact.name "Sam" lets you write "Sam: omg" instead of "them: omg"). A literal "\n" inside a message becomes a line break. Lines starting with # are comments. Photos: "me: [photo https://example.com/image.jpg] optional caption" (https URLs only; local file paths are not available). "=== scroll 3" opens on the oldest message of a longer history and skims down to the live part in 3 s. With keyboard true (the default), the newest messages stay above the area where the Reels caption sits.
soundsNoReal UI sounds: iOS key clicks while typing, the app's send and receive sounds. Default: true.
contactNoContact header info.
endHoldNoSeconds to hold on the final frame before the video ends. Default: 2.
autoReadNoMark "me" messages as read as soon as the other person starts typing. Default: true.
keyboardNoShow the iOS keyboard, which keeps the latest messages above the Reels caption area. Default: true.
messagesNoConversation as an array of event objects instead of a script string (use this OR script, not both). Passed through to the txtreel API as-is; each item is one of: {from:"me"|"them", text, delay?, typing?, hold?, time?, instant?} (type "message" is the default and can be omitted), {type:"pause", seconds}, {type:"timestamp", text, instant?}, {type:"read", time?}, {type:"react", from:"me"|"them", emoji}.
platformNoChat app to render: "imessage", "whatsapp", or "instagram". Default: imessage.
startTimeNoClock used for messages, read receipts, and WhatsApp bubble times, e.g. "9:41 PM". Default: 9:41 PM.
statusBarNoPhone status bar shown at the top of the frame.
composerTypingNoType "me" messages into the input bar before sending them. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / script / description
      Previous value: -"Conversation as a plain-text script. Use this OR messages, not both.\n\nConversation script format (one event per line):\n\nthem: hey, you up?\nme: yeah why\n[pause 1.5]            wait 1.5 s\n--- Today 9:41 PM      date/time separator\nme: [photo URL] caption a photo (URL, local file path, or an uploaded photo's number)\n[them reacts ❤️]       reaction on my last message\n[read]                 they read my messages\n===                    everything above is already on screen at the start\n=== scroll 3           same, but open on the oldest message and skim down in 3 s\n# comment\n\n\"Name: text\" also means \"them\" when Name matches contact.name (e.g. contact.name \"Sam\" lets you write \"Sam: omg\" instead of \"them: omg\"). A literal \"\\n\" inside a message becomes a line break. Lines starting with # are comments.\n\nGuidance: one short message per line, like real texting — split up what a real person would send as separate texts rather than one long paragraph. A typical reel is 8-16 messages and 15-30 seconds. Use \"[pause N]\" to hold a beat before a reply lands (dramatic timing). Use \"===\" to start the video with everything above it already on screen, e.g. for a \"catch up on this conversation\" reel. Photos: \"me: [photo https://example.com/image.jpg] optional caption\" (https URLs only; local file paths are not available). Use \"=== scroll 3\" instead to open on the oldest message of a longer history and skim down to the live part in 3 s — too fast to read, so viewers pause and rewind (good for comments: hide a detail in the history). Leave keyboard at its default (true) so the newest messages stay above where the Reels caption/UI usually sits."New value: +"Conversation as a plain-text script. Use this OR messages, not both.\n\nConversation script format (one event per line):\n\nthem: hey, you up?\nme: yeah why\n[pause 1.5]            wait 1.5 s\n--- Today 9:41 PM      date/time separator\nme: [photo URL] caption a photo (URL, local file path, or an uploaded photo's number)\n[them reacts ❤️]       reaction on my last message\n[read]                 they read my messages\n===                    everything above is already on screen at the start\n=== scroll 3           same, but open on the oldest message and skim down in 3 s\n# comment\n\n\"Name: text\" also means \"them\" when Name matches contact.name (e.g. contact.name \"Sam\" lets you write \"Sam: omg\" instead of \"them: omg\"). A literal \"\\n\" inside a message becomes a line break. Lines starting with # are comments.\n\nPhotos: \"me: [photo https://example.com/image.jpg] optional caption\" (https URLs only; local file paths are not available). \"=== scroll 3\" opens on the oldest message of a longer history and skims down to the live part in 3 s. With keyboard true (the default), the newest messages stay above the area where the Reels caption sits."
  2. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only mark it as a non-idempotent, non-destructive, non-open-world write. The description adds substantial behavior the agent cannot get elsewhere: the render is queued and awaited, it returns only on completion/failure/timeout, typical latency is 20-60s, output is a public link whose file is deleted after 24 hours, and rate-limit/busy conditions surface as errors with a message. That is exactly the kind of disclosure annotations do not carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, timing, and return-value caveats are correctly front-loaded in the opening sentences. The bulk of the description is a script-format block that largely duplicates the script parameter's schema description, which is redundant weight rather than new 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?

With 13 parameters (including nested objects) and no output schema, the description appropriately compensates by describing the return value (public MP4 link, deleted after 24h) and failure modes. Parameter-level detail is delegated to a fully covered schema, so an agent has what it needs to call the tool correctly.

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%, so baseline is 3. The description re-explains the script format, but that text is essentially duplicated from the script parameter's own schema description, so it adds little beyond the structured field; the other twelve parameters (speed, theme, platform, statusBar, etc.) get no additional semantic framing in the prose.

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 first sentence gives a concrete verb+resource+output: 'Render a txtreel conversation (script or messages) to an MP4 and wait for it to finish.' That is unambiguous and clearly a video-render tool, implicitly distinct from chat_screenshot. It never names its siblings (chat_screenshot, chat_validate, reddit_render_video), so it stops short of full differentiation.

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?

It conveys operational context (queues then waits, 20-60s for a short render, errors on busy/rate limit) and states 'use this OR messages, not both,' which is useful guidance. However it never says when to prefer this over chat_screenshot or chat_validate, nor any when-not conditions, so usage is only implied.

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