Skip to main content
Glama

Set sequence in/out points

set_sequence_in_out
Idempotent

Sets a sequence's in and out points in seconds from its start, snapping times to whole frames, so subsequence creation and in-to-out exports use the correct range.

Instructions

Set a sequence's in point and/or out point, in seconds from the sequence start. Pass one or both (BAD_ARGS when neither); the other is left as it is. Times are snapped to whole frames. The in/out range is what create_subsequence and "in to out" exports use. Returns the points read back, as get_sequence_in_out does. Use clear_sequence_in_out to remove them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_sequence_in_out"
  }
}

Input Schema

NameRequiredDescriptionDefault
in_pointNoIn point, in seconds from the sequence start. Omit to keep the current in point.
out_pointNoOut point, in seconds from the sequence start. Must be after the in point. Omit to keep the current out point.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent, non-destructive), the description discloses frame-snapping of input times, the BAD_ARGS error condition, the partial-update behavior, and the fact that the points are read back afterward. That is meaningful behavioral context the annotations do not carry.

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 compact sentences, front-loaded with the action and unit, then constraints, then return and cleanup pointer. No redundant restatement of the name or title.

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 states what is returned (points read back, same as get_sequence_in_out) and how to undo. For a 4-parameter mutation tool with full schema coverage this leaves no practical gap.

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; the description still adds value by stating that at least one of the two points is required and that times are snapped to whole frames, neither of which appears in the schema. It does not address sequence_id vs sequence_name precedence, which the schema covers anyway.

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?

Names a specific verb and resource (set a sequence's in point and/or out point) and states the unit and origin (seconds from the sequence start). It also implicitly separates itself from get_sequence_in_out and clear_sequence_in_out by naming them.

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 pass one or both points, that passing neither yields BAD_ARGS, and that the omitted point is left unchanged. It also names the removal alternative (clear_sequence_in_out) and the downstream consumers (create_subsequence, in-to-out exports).

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