Skip to main content
Glama

Kalpana Designer

Set the timeline

set_timeline

Set how the design plays: its length in seconds (at most 60), its frame rate, and still_time, the second a batch image shows (a negative value clears it, so images use the last frame). Fields left out keep their values. Returns the timeline. Saved as a new revision that undo reverts. Use it after animate when the motion needs more or less time, and always set still_time on a template with motion that will fill image batches; motion itself is set with animate and edit_keyframes, and camera moves with camera.

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": {
      "page_id": "<page_id>",
      "intent": "<intent>"
    },
    "name": "set_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
intentYesOne short sentence: what you change and why. Kept in the design history.
page_idYesThe page to work on, as returned by create_design.
durationNoLength of the scene's video in seconds.
still_timeNoThe second a still image of the scene shows: the moment where all its content is in place. A negative value clears it (the last frame).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses partial-update semantics ('fields left out keep their values'), the hard cap of 60 seconds, the return value, and critically that the change is saved as a new revision that undo reverts. That revision/undo detail is exactly the kind of behavior an agent cannot infer from readOnlyHint=false.

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 behavior and the 60-second limit are front-loaded, and every sentence carries information. The second half is a long run-on clause chaining usage rules and sibling references, which slightly hurts scannability.

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 no output schema, the description still tells the agent what is returned (the timeline), what happens on partial input, and that changes are revisioned and undoable. For a 5-parameter mutation tool this covers everything needed to invoke it correctly.

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 coverage is 80%, so the baseline is 3; the description adds a real constraint the schema lacks by capping duration at 60 seconds. It explains still_time in prose too, though that largely restates the schema, and fps gets only a vague 'frame rate' with no valid range or format.

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 verb and resource (set the timeline) and enumerates the three things it controls: duration, frame rate, and still_time. It explicitly separates itself from siblings by noting motion is set with animate/edit_keyframes and camera moves with camera.

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 an explicit trigger (use it after animate when the motion needs more or less time), a mandatory case (always set still_time on a template with motion that fills image batches), and names the alternatives for adjacent concerns. Nothing is left to inference about when to reach for this tool.

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