Skip to main content
Glama

Add a scene that plays a video playlist

livereacting_create_scene_with_playlist
Destructive

Add a scene to a project and fill it with a video playlist in one call. This is the normal way to put content into a project, because a new project is created empty. It behaves differently depending on what the project already holds, and you do not have to choose: on a project with no scenes it creates the first scene and makes it active, which a stream needs in order to play anything; on a project that already has a scene it also wires the previous scene to switch automatically into this new one when its playlist ends, which is how a 24/7 channel is chained day by day. In that second case the previous scene must already contain a video playlist layer, otherwise the call is refused. File ids come from livereacting_list_media or livereacting_import_media, and every file has to have finished importing and encoding. To change the playlist afterwards use livereacting_set_playlist. This builds a video playlist. For an audio playlist use livereacting_add_layer. Text, image and interactive overlays are readable but can only be created in the LiveReacting Studio. Sending audio files here produces a video playlist holding audio, which is not what the customer wants and is not reported as an error.

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": {
      "projectId": "<projectId>",
      "sceneName": "<sceneName>",
      "files": "<files>"
    },
    "name": "livereacting_create_scene_with_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
fadeNotrue makes each video fade out and the next one fade in, picture and sound. The videos do not overlap, so the playlist keeps its length. Defaults to false.
loopNoRepeat the playlist forever. Defaults to true, which is what a 24/7 channel needs. Pass loop: false for a clip that must play once and then stop. It is ignored when this scene auto-switches into another one.
filesYesThe videos this scene plays, in order. At least 1, at most 600.
volumeNoPlayback volume, 0 to 10. Defaults to 10.
layerNameNoName for the playlist layer, 19 characters or less. Defaults to "Video playlist layer".
projectIdYesProject id, from livereacting_list_projects.
sceneNameYesName for the new scene, 1 to 60 characters.
fadeDurationNoLength of the fade in seconds: 0.5, 1, 1.5 or 2. The fade-out and the fade-in each take this long. It has an effect only when fade is true. Defaults to 1.
adPlaceholderNoVideo playlists only. The video that plays during ad breaks. Send fileId for one video or files for several. Every file must be a video that has finished importing and encoding. This replaces the whole current setting; null removes it. A new list or order starts again from the first video. Leave it out to keep the current setting.
previousSceneIdNoWhich existing scene should auto-switch into the new one. Defaults to the last scene in the project. Ignored when the project has no scenes yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / fade
      Added value: +{
      +  "description": "true makes each video fade out and the next one fade in, picture and sound. The videos do not overlap, so the playlist keeps its length. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / fadeDuration
      Added value: +{
      +  "description": "Length of the fade in seconds: 0.5, 1, 1.5 or 2. The fade-out and the fade-in each take this long. It has an effect only when fade is true. Defaults to 1.",
      +  "enum": [
      +    0.5,
      +    1,
      +    1.5,
      +    2
      +  ],
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / adPlaceholder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "enabled": {
      +          "description": "true plays a placeholder video during every ad break; false turns it off.",
      +          "type": "boolean"
      +        },
      +        "fileId": {
      +          "description": "One placeholder video, from livereacting_list_media. Ignored when files is sent.",
      +          "pattern": "^[a-fA-F0-9]{24}$",
      +          "type": "string"
      +        },
      +        "files": {
      +          "description": "Several placeholder videos, at most 40, each video once. One video plays per ad break and loops to fill it. When both files and fileId are sent, files wins.",
      +          "items": {
      +            "properties": {
      +              "fileId": {
      +                "pattern": "^[a-fA-F0-9]{24}$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "fileId"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 40,
      +          "type": "array"
      +        },
      +        "shuffle": {
      +          "description": "false (default) plays the videos in list order. true plays every video once per round, in a new random order each round. It has an effect only with 3 or more videos.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "enabled"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Video playlists only. The video that plays during ad breaks. Send fileId for one video or files for several. Every file must be a video that has finished importing and encoding. This replaces the whole current setting; null removes it. A new list or order starts again from the first video. Leave it out to keep the current setting."
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by describing two distinct behavioral branches — first scene on an empty project, versus chaining the previous scene into the new one on an already-populated project — plus a rejection condition and a silent-failure mode (audio files produce a video playlist with no error). It does not elaborate on the destructive/replacement semantics flagged by destructiveHint for existing scene wiring, or on non-idempotency, which leaves a small gap.

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?

The opening sentence is front-loaded and the branching explanation is logically ordered. Some phrasing is conversational filler ('and you do not have to choose', 'which is how a 24/7 channel is chained day by day'), but each sentence carries substantive 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?

For a 10-parameter mutation tool with branching behavior and no output schema, the description covers creation, chaining, prerequisites, alternatives, and failure modes. The remaining omission is what the call returns and how existing scene wiring can be undone, which matters given destructiveHint=true.

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 including nested adPoints and adPlaceholder is already documented in the schema. The description adds provenance context for file ids and the encoding prerequisite, but says nothing about loop, fade, volume, or ad placement 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?

States a specific compound verb and resource: 'Add a scene to a project and fill it with a video playlist in one call.' It also explicitly separates itself from nearby tools, marking livereacting_set_playlist as the edit path and livereacting_add_layer as the audio path.

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 strong when-to-use routing ('This is the normal way to put content into a project, because a new project is created empty'), names alternatives for changing the playlist and for audio playlists, and states prerequisites (files from livereacting_list_media/import_media, fully imported and encoded; previous scene must already hold a video playlist layer or the call is refused).

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.