Skip to main content
Glama

Get clips at a time

get_clip_at_time
Read-onlyIdempotent

Find clips at a given timeline time in seconds, one per track, with optional track-type/index filters and returned offsets into each clip.

Instructions

Find the clips under a timeline time (seconds): one per track that has a clip there, optionally limited to a track type or one track. A clip covers its start but not its end. Returns the clips with video tracks from top to bottom first (the first video clip is the one visible when nothing above is transparent), and the offset into each clip.

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": {
      "time": "<time>"
    },
    "name": "get_clip_at_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesTimeline time, 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.
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
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavioral detail: the half-open interval rule ('covers its start but not its end'), the return ordering (video tracks top to bottom, first video clip is the visible one), and per-clip offset. With no output schema, this return-shape disclosure is valuable; only the empty-result and missing-sequence cases are left unstated.

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?

Two dense sentences, front-loaded with the operation and then the return semantics; nothing is filler. Phrasing like 'clips under a timeline time' is slightly awkward but does not cost clarity.

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 read-only, single-time query with a fully documented schema and annotation-covered safety, the definition supplies the two things structured fields cannot: interval boundary semantics and result ordering. Only edge cases (no matching clips, unresolved sequence_name without sequence_id) are omitted.

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

Parameters3/5

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

Schema description coverage is 100%, so all five parameters are already documented, including the enum for track_type and the dependency of track_index on track_type. The description only restates the track limiting options and adds the boundary rule for time, so baseline 3 applies.

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 — 'find the clips under a timeline time (seconds)' — and pins down the granularity ('one per track that has a clip there'), which cleanly separates it from range-based siblings like get_clips_in_range. It never names a sibling or explicitly contrasts with get_clips_at_playhead, so it stops short of full differentiation.

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 when-to-use case (querying at a single instant, optionally narrowed by track type or index) is implied clearly by the wording, but there is no explicit statement of when to prefer get_clips_in_range or get_clips_at_playhead instead, and no prerequisites such as needing an active sequence.

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