Skip to main content
Glama

Kalpana Designer

Set choreography

set_choreography

Replace the design's camera moves and morphs between layers with a value in the stored format (read the current one with get_design timeline); {} clears it. A flow alone (slides in order, joined by transitions) is compiled into the camera and morphs it plays. Validated before saving, and the timeline grows to fit. Returns the timeline. Saved as a new revision that undo reverts; if any part is refused, nothing changes. Use it to edit or clear choreography as a whole; for one camera move use camera, for a single layer's motion animate, for a wipe between scenes make_transition, and for the length set_timeline.

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>",
      "choreography": "<choreography>",
      "intent": "<intent>"
    },
    "name": "set_choreography"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYesOne short sentence: what you change and why. Kept in the design history.
page_idYesThe page to work on, as returned by create_design.
choreographyYesCamera moves and morphs between layers, in the stored format (read the current value with get_timeline). `{}` clears it. May instead carry just a `flow` (the slides in video order, joined by transitions, under `stage`/`steps`), the camera and morphs it plays are compiled from it and saved alongside it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Adds substantial behavioral detail beyond annotations: validation before saving, timeline growth, return of the timeline, new revision semantics, undo reversion, and atomic refusal with no partial changes. These facts are important for a mutation tool and are not contradicted by the non-destructive annotation.

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?

The description is dense but front-loaded with the primary action and payload format, then moves to behavior and alternatives. Every clause adds relevant decision or invocation information, 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 complex mutation with a nested object parameter and no output schema, the description covers the payload formats, clearing behavior, validation, return value, revision/undo semantics, atomicity, and sibling alternatives. An agent has enough context to invoke it correctly.

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

Parameters5/5

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

Schema coverage is already 100%, but the description adds meaningful semantics beyond the schema: the stored format, `{}` as a clear signal, the flow-only alternative, and that flow is compiled into camera and morphs. This goes beyond simply restating the parameter definitions.

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: replace the design's camera moves and morphs. It also clarifies the accepted value format and the `{}` clearing behavior, which lets an agent distinguish this from related editing tools.

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?

Explicitly says to use this for editing or clearing choreography as a whole, then names alternatives for narrower tasks: camera for one move, animate for layer motion, make_transition for a wipe, and set_timeline for length. It also explains how to read the current value with get_design timeline.

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