Skip to main content
Glama

Get clips in a time range

get_clips_in_range
Read-onlyIdempotent

Lists timeline clips overlapping a start-to-end range in seconds, optionally filtered by track type or track, and can return only clips fully inside; each clip reports seconds within the range.

Instructions

List the clips that overlap a timeline range (start to end, seconds), optionally limited to a track type or one track. With fully_inside=true only clips that lie completely inside the range are returned. Each clip reports how many seconds of it fall inside the range.

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_clips_in_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd of the range, in seconds.
startYesStart of the range, in seconds.
track_typeNoRestrict to one track type: "video" or "audio". Omit for both.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNoRestrict to one 0-based track index (needs track_type). Omit for every track of that type.
fully_insideNoOnly clips that start and end inside the range. Default false.
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

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real semantic context the annotations cannot: the default is overlap-based, fully_inside narrows it, and each returned clip carries an in-range seconds count, which substitutes for the missing output schema. It stops short of stating ordering, pagination, or limits on result size.

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?

Three short sentences, front-loaded with the primary behavior, then the modifier, then the return shape. Every clause carries information; nothing is redundant with the title.

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?

With seven parameters, no output schema, and mutation-free annotations, the description covers the essentials: what is matched, how the filter changes matching, and what each result reports. Missing only secondary details such as result ordering and behavior when no sequence is active.

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 baseline is 3, but the description adds conceptual meaning beyond the field docs: it establishes that matching is by overlap by default and that fully_inside changes the predicate rather than just filtering values. It doesn't clarify sequence_id vs sequence_name precedence or the track_type/track_index dependency, which remain schema-only.

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?

States a specific verb and resource ('List the clips') plus the scoping dimension (timeline range in seconds) and the optional track filters. The overlap-vs-fully-inside semantics make the operation concrete. It doesn't explicitly contrast itself with siblings like get_clip_at_time or get_clips_at_playhead, but the range basis is distinctive enough.

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 description implies when this is appropriate (any query over an interval) and explains the fully_inside switch, but it gives no explicit when-not guidance or named alternative for point lookups or selection-based retrieval. Guidance is present but inferential.

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