Skip to main content
Glama

Render a video or a guide

tourwright_render

Queue a product-tour script to render a narrated video and/or step-by-step guide as HTML, PDF, or Word, returning links or a job ID for polling.

Instructions

Queue a script for rendering: a video, and/or a step-by-step guide as HTML, PDF or Word (options.export). With wait=true (default) it waits until it is ready and returns its links (and local paths), duration, chapters and captions; otherwise it returns the job id to poll with tourwright_job.

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": {
      "script": "<script>"
    },
    "name": "tourwright_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
varsNoValues for the script variables ({{name}}): the same script makes a different video per set of values
waitNoWait for the video (default true); false returns the job id at once, to poll with tourwright_job
assetsNoFiles the script refers to by name (images, your own background music, uploads), base64-encoded: { "theme.mp3": "<base64>" } and music: theme.mp3
scriptYesThe script: an object, or YAML/JSON text. Read tourwright_guide first for the format.
optionsNoRender settings that override the script
waitSecondsNoHow long to wait for the video before returning the job as it is (default 900)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.7.0
    • changedInput schema / properties / assets / description
      Previous value: -"Files the script refers to by name (images, music, uploads), base64-encoded"New value: +"Files the script refers to by name (images, your own background music, uploads), base64-encoded: { \"theme.mp3\": \"<base64>\" } and music: theme.mp3"
    • addedInput schema / properties / options / properties / export
      Added value: +{
      +  "description": "What to deliver (default the script's, else [video]): guide = a step-by-step guide (HTML, Markdown), pdf / docx = that guide as a branded PDF or Word file. [\"pdf\"] alone makes only the document, fast and without voice",
      +  "items": {
      +    "enum": [
      +      "video",
      +      "audio",
      +      "silent",
      +      "guide",
      +      "pdf",
      +      "docx"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changedv2.6.0
    • addedInput schema / properties / options / properties / safe
      Added value: +{
      +  "description": "A dry run that finds every element but presses, types and chooses nothing: nothing real happens in the app",
      +  "type": "boolean"
      +}
  3. Changed5 schema fields changedv2.2.0
    • addedInput schema / properties / options / description
      Added value: +"Render settings that override the script"
    • addedInput schema / properties / options / properties / quality / description
      Added value: +"Size of the video: sd 480p, hd 720p, fullhd 1080p, vertical 1080x1920, square 1080x1080"
    • addedInput schema / properties / options / properties / voice / description
      Added value: +"Voice for the whole video, overriding the script: a name from tourwright_voices"
    • addedInput schema / properties / wait / description
      Added value: +"Wait for the video (default true); false returns the job id at once, to poll with tourwright_job"
    • addedInput schema / properties / waitSeconds / description
      Added value: +"How long to wait for the video before returning the job as it is (default 900)"
  4. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the mutation and non-idempotent profile is known; the description usefully adds the async job-return behavior and enumerates what comes back (links and local paths, duration, chapters, captions). It does not explain cost, queue limits, or what happens to a job that times out beyond waitSeconds, so it adds only moderate context over the annotations.

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?

Two sentences, front-loaded with the action and artifacts, then the wait-mode behavior. Dense and mostly waste-free, though the parenthetical export list slightly duplicates what the schema already spells out.

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 no output schema, the description carries the return-value burden and does so: it lists links, local paths, duration, chapters and captions, plus the job-id alternative. Remaining gaps (failure modes, what a partial render looks like) are minor for a render-queue 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 coverage is 100% and the schema descriptions are already rich, so the baseline is 3. The description restates wait=true (default) and options.export in nearly the same words as the schema, and adds no new meaning for script, vars, assets or waitSeconds.

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 (queue a script for rendering) and the concrete deliverables (video and/or guide as HTML, PDF or Word), and pins the export control to options.export. It is clearly distinct from tourwright_job, which the description reserves for polling, so an agent can choose between them without opening schemas.

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?

Gives explicit branching guidance: with wait=true you get results, with wait=false you get a job id to poll via tourwright_job, and it tells the agent to read tourwright_guide first for the script format. It does not state when to prefer tourwright_check or tourwright_validate, so it falls short of full when/when-not coverage.

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