Skip to main content
Glama

Make the video of a task

start_task_video
Idempotent

Makes the short motion film of a task's preview, with a poster, the same film CodeGene makes on its own when a task is ready to try: the planner picks the template (in the style asked for, if any), the workspace's saved video style (and its notes) shapes it, and the design gate checks it; it is attached to the task's report and its poster is emailed to the task's author. Give the task, a style only when the person asked for one, and an extension only when the film should show a browser extension of theirs over the pages. Answers started or already_started with the run id (a video of a task already being made is answered, never started twice), invalid (no task you can see, or the workspace's allowance is used up) or unavailable (try later). It does not wait: read it with get_task_video; a film takes a few minutes once a render machine is free.

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": {
      "task": "<task>"
    },
    "name": "start_task_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesThe task (tsk_…; list_tasks gives ids).
styleNoThe style of film, when the person asked for one: highlight (the change on its page, with callouts and taps), before-after (the page as it was, then as it is), fix (a bug, then fixed), walkthrough (a guided tour across the pages of the site or app), tutorial (how to do something, step by step), welcome-tour (a short first-visit orientation to a new site or app), bumper-ad (a six-second ad of the change), spotlight (one feature, seen close), explainer (what the change does and why), whats-new (several changes in one film). Leave it out for the film CodeGene picks for the task. A style the task cannot be told in is filmed in the task's own style and the video says so.
reasonNoWhy, in a sentence: kept in the audit with the start. It does not reach the film.
extensionNoA browser extension component of yours (cmp_...) to film the task with: its newest production build is loaded in the film's browser so the film shows the extension over your pages.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial context beyond annotations: side effects (report attachment, poster emailed to the task's author), a design gate, async non-blocking behavior, minutes-long latency, and the full outcome vocabulary (started/already_started, invalid, unavailable). The never-twice statement matches idempotentHint=true and nothing contradicts readOnlyHint=false, though the safety implications of spending the workspace allowance are implied rather than stated as a cost warning.

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 core action and closes with the operational caveat, but it is a single long multi-clause sentence chain that packs outcome variables, side effects, and latency into prose. Every element is useful, yet the density costs some scannability over a tighter bulleted structure.

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?

With five parameters, no output schema, and a complex async workflow, the description covers inputs, return states, non-blocking behavior, and downstream effects. An agent can invoke it correctly and know how to follow up without additional sources.

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 enum for style is fully documented in the schema, so the baseline is 3. The description restates the gist (task, style only when asked, extension only when relevant) but adds little syntax or interpretation beyond what the schema already provides.

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?

Opens with a specific verb+resource ("Makes the short motion film of a task's preview") and distinguishes itself from the read path by explicitly naming get_task_video as the way to read results. It also scopes the side effects (attached to the report, poster emailed) that separate this from get_task_video and change_video_style.

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 explicit conditional guidance on optional inputs: style "only when the person asked for one" and extension "only when the film should show a browser extension of theirs over the pages", plus the default behavior when omitted. It also names the alternative for retrieving the result ("read it with get_task_video") and sets expectations for latency.

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