Skip to main content
Glama

set_sub_section_parameters

DestructiveIdempotent

Set playback parameters on a Level Sequence subsequence or cinematic shot section, adjusting loop offsets, time scale, and start/end frame offsets.

Instructions

Set the playback parameters on a subsequence OR cinematic-shot section (both are UMovieSceneSubSection). Writes the public FMovieSceneSectionParameters fields directly; bCanLoop gates the loop offsets so it is applied first.

Returns: { sequence_path: string, section_class: string, section_index: int, start_frame_offset: int, end_frame_offset: int, first_loop_start_frame_offset: int, hierarchical_bias: int, can_loop: bool, time_scale: double|null, set: bool, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
can_loopNobCanLoop; gates the loop offsets (omit to leave unchanged).
time_scaleNoConstant playback time scale (double; must be non-zero -- ~0 is a FixedTime warp, not a play rate; omit to leave unchanged).
track_typeNoOptional master-track filter: "subsequence" (default) or "shot" (cinematic shot track).
section_indexNoIndex of the section on the resolved master track (default 0).
sequence_nameNoAlias for sequence_path.
sequence_pathNoFull /Game path OR bare asset name of the OUTER Level Sequence that owns the sub/shot track.
end_frame_offsetNoEndFrameOffset in tick frames (omit to leave unchanged).
hierarchical_biasNoHierarchicalBias (int; default engine value 100; omit to leave unchanged).
start_frame_offsetNoStartFrameOffset in tick frames (omit to leave unchanged).
first_loop_start_frame_offsetNoFirstLoopStartFrameOffset in tick frames; only meaningful when can_loop is true (omit to leave unchanged).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • removedInput schema / required
      Removed value: -[
      -  "sequence_path"
      -]
  2. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructive=true and idempotent=true, so the safety profile is partly covered, but the description adds genuine behavioral detail: it writes the public FMovieSceneSectionParameters fields directly and that bCanLoop gates the loop offsets, so it must be applied first — an ordering constraint not present in annotations or schema. It stops short of saying whether changes are persisted or must be saved separately.

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?

Front-loads the core purpose and the key ordering rule in the first two sentences with no filler. The Returns block is lengthy but justified since there is no output schema to carry that 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 no output schema and partial annotation coverage, the description covers the target types, the write semantics, the ordering constraint, and the full return shape (including saved/save_error). It is close to complete; only error/undo behavior and required prerequisites are unstated.

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 100%, so the baseline is 3, but the description earns above baseline by explaining cross-parameter semantics: bCanLoop acting as a gate for the loop offsets and the required ordering between can_loop and first_loop_start_frame_offset.

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 (Set) and resource (sub-section playback parameters) and explicitly disambiguates the two target types ('subsequence OR cinematic-shot section (both are UMovieSceneSubSection)'), which is a real distinction against the many section-oriented siblings like set_section_range or set_skeletal_animation_section_params.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The scope statement ('both are UMovieSceneSubSection') implicitly tells the agent this tool only applies to sub/shot sections, not arbitrary sections, but it never says when to prefer this over the closely-named siblings (set_section_range, set_skeletal_animation_section_params) nor any when-not conditions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools