Skip to main content
Glama

timeline.set_transform

Place a clip on a video track as a layer: its position, size and opacity in the frame. Video tracks stack by order (higher order is drawn on top), and anything outside a scaled-down or transparent clip shows the tracks beneath — so a logo, watermark or picture-in-picture is an image/GIF/video placeholder on a track ABOVE the footage, with e.g. scale 0.15 and x 0.9, y 0.1 for the top-right corner. Images and GIFs loop to fill their clip's whole duration; GIF/PNG transparency is kept. Only the fields you pass change. Defaults (nothing set) are x 0.5, y 0.5, scale 1, opacity 1 — the full frame.

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>",
      "expectedVersion": "<expectedVersion>",
      "itemId": "<itemId>"
    },
    "name": "timeline.set_transform"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoClip center, fraction of frame width: 0 left edge, 0.5 centered, 1 right edge
yNoClip center, fraction of frame height: 0 top, 0.5 centered, 1 bottom
scaleNoSize relative to filling the frame: 1 full frame, 0.2 a small logo
itemIdYes
opacityNo0 invisible, 1 opaque
projectIdYes
expectedVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses track stacking order, that transparency and content beneath show through, that images/GIFs loop for the clip duration and preserve alpha, and that unset fields are left alone with documented defaults. It omits the behavioral weight of expectedVersion (optimistic concurrency / what happens on a version mismatch) and any permission or failure semantics.

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 core idea (clip as a layer with position/size/opacity) is front-loaded in the first clause, and the remaining sentences each add distinct information: stacking, the watermark example, image looping, partial-update semantics, and defaults. It is dense and long for a single paragraph 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 mutation tool with no annotations and no output schema, the definition covers transform semantics, layering, defaults and partial updates thoroughly. The main remaining hole is the required expectedVersion concurrency token, which an agent must understand to call the tool successfully.

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?

The schema already documents x, y, scale and opacity with ranges and meanings; the description adds practical calibration (scale 0.15 and x 0.9/y 0.1 for a top-right corner) and the full default set, which is genuinely useful. However, with only 57% schema coverage, the three required parameters (projectId, expectedVersion, itemId) are left unexplained in both places, so the description does not compensate for the gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb and resource: it places/sets a clip's position, size and opacity in the frame, i.e. a spatial transform on a timeline item. It implicitly separates this from time-based siblings like timeline.move_item or timeline.trim_item by consistently talking about frame coordinates and layering, though it never names a sibling explicitly.

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?

It supplies a clear when-to-use picture (logo, watermark, picture-in-picture on a track above the footage) and states the partial-update rule ('Only the fields you pass change'), which tells the agent how to call it. It stops short of explicit alternatives or exclusions, e.g. that repositioning in time belongs to timeline.move_item rather than here.

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.