Skip to main content
Glama

Set Studio Timeline

set_studio_timeline
DestructiveIdempotent

Replace a project's whole timeline — tracks, clips and media. This OVERWRITES the existing timeline, so read it with get_studio_project first and send the full document back, not a fragment. Every clip must reference a track that exists, and video/image/audio clips must reference media that exists; the request is rejected with the offending clip named if not. totalDuration is computed server-side.

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": {
      "studioId": "<studioId>",
      "tracks": "<tracks>",
      "clips": "<clips>",
      "media": "<media>"
    },
    "name": "set_studio_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipsYes
mediaYes
tracksYes
studioIdYes

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
canvasNo
countsNo
sharedNo
projectIdNo
aiProvenanceNo
isSharePublicNo
sourceVideoIdNo
totalDurationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and openWorldHint=true, and the description adds meaning beyond them: it capitalizes OVERWRITES to confirm the destructive semantics, describes referential-integrity validation (clips must reference existing tracks; video/image/audio clips must reference existing media) and the failure mode of naming the offending clip, and notes totalDuration is computed server-side. That is the exact kind of context annotations cannot express.

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?

Four sentences, each with a distinct job: what it does, the prerequisite read, the validation rules, and the server-computed field. The most consequential fact (total overwrite plus prerequisite read) is front-loaded with no filler.

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?

For a destructive, whole-document replacement with an output schema already covering return values, the description supplies everything an agent needs to call it safely: prerequisite read, full-document requirement, and referential validation. No material gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and items are freeform objects, so the description must carry the load; it does explain the relational semantics of clips vs tracks vs media and the validation rules tying them together. It stops short of describing the shape of a track, clip, or media object, so an agent still cannot infer what fields each item needs beyond the reference constraints.

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 description opens with a specific verb and resource — 'Replace a project's whole timeline — tracks, clips and media' — and the scope word 'whole' distinguishes it from a partial edit tool such as update_studio_project. An agent can tell exactly what document this writes without opening the schema.

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?

It states the required workflow explicitly: read the timeline with get_studio_project first and send the full document back, not a fragment. That names the alternative (a read) and the condition that selects it, and warns against the fragment mistake agents commonly make.

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