Skip to main content
Glama

Export walkthrough

export_walkthrough

Save a finished walkthrough as one shareable file: an MP4 video with captions or a self-contained offline HTML page, sized for chat apps, email or phones.

Instructions

Save a walkthrough as one file the user can keep or forward: an MP4 video (H.264 and AAC, with a subtitle track) or a self-contained HTML page that plays offline in a browser. Call it after finish_walkthrough and the fixes its reply names. It waits up to five minutes for narration still being voiced, then renders; an MP4 takes about a tenth of its length plus a few seconds. Use it when the user asks for a video, or for a file to share, send or attach. MP4 needs ffmpeg and showntell's browser, HTML neither; the error says what is missing or still downloading.

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": {
      "handle": "<handle>"
    },
    "name": "export_walkthrough"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoWhere to write. Empty: a file named after the title in the project folder. Relative: inside the project folder. Absolute: that path, inside a folder the client shares. Must end in .mp4 or .html to match `format`. An existing file is overwritten.
formatNomp4 (default): a video for chat apps, email and phones. html: one page that plays offline in a browser.mp4
handleYesHandle from start_walkthrough or list_walkthroughs.
max_mbNoSize limit in MB. An MP4 over it is shrunk, first lower audio bitrate, then 720p; if it still does not fit, the call fails: split the walkthrough or raise the limit. An HTML page over it fails. 0: no limit. Omit for the server default: 16 (WhatsApp's video limit) when the user receives files, otherwise none. Other channels: Telegram bots 50, Signal 100, email often 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.4

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations (readOnly=false, destructive=false): the five-minute wait for in-progress narration, render-time expectations, the runtime dependencies for MP4 (ffmpeg plus the browser) versus HTML needing neither, and the fact the error message names the missing piece. The overwrite of an existing file is disclosed in the schema rather than the description, so the safety profile is carried by structured data rather than prose, keeping it a 4.

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?

Front-loaded with the outcome, then sequencing, then cost/timing, then dependencies and failure behavior – each sentence carries distinct information with no restatement of the tool name. Dense but not padded.

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?

For a write tool with no output schema, the definition covers timing, blocking waits, rendering cost, external dependencies, and error surfacing, which is enough to invoke it correctly. What remains unstated is what a successful call returns (file path, size, or a link), which the agent would otherwise need to report to the user.

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 every parameter (path, format, handle, max_mb) is already documented with defaults and edge-case semantics in the schema itself. The description clarifies the mp4-vs-html tradeoff in general terms but adds no new parameter-level meaning such as path resolution or size-limit behavior, so the baseline 3 applies.

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?

The definition uses a specific verb and resource ("Save a walkthrough as one file") and names both output forms – an MP4 with H.264/AAC plus subtitle track or a self-contained offline HTML page. This is far more precise than the tool name or title alone, so an agent can distinguish it from the sibling authoring tools.

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?

Provides explicit sequencing ("Call it after finish_walkthrough and the fixes its reply names") and states the trigger conditions: the user asks for a video, or for a file to share, send, or attach. The guidance lacks a stated "do not call when" case, but for an export terminal step the ordering rule is the critical guidance and it is present.

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