Skip to main content
Glama

Rename a timeline clip

rename_clip
Idempotent

Rename one timeline clip instance without changing its project item or media file; linked clips are renamed by default unless include_linked is false.

Instructions

Change the name of one clip instance on the timeline. The project item and the media file keep their names. Linked clips get the same name unless include_linked is false. Use rename_clips for a numbered batch. Returns the clip with its new name and the previous name.

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

Input Schema

NameRequiredDescriptionDefault
nameYesNew clip name.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.
include_linkedNoAlso rename the clips linked to it (e.g. the audio of a video clip). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the description's added value is scope-of-effect: linked clips are renamed too unless include_linked is false. It also discloses the return shape ('the clip with its new name and the previous name'), which matters because there is no output schema. Minor gap: no mention of what happens on an invalid or stale clip reference.

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 tight sentences, each doing work: purpose, scope exclusion, side effects, alternative, and return shape, in that order. Nothing is redundant with the title and there is no filler.

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 an 8-parameter tool with no output schema, the description covers purpose, blast radius, return value, and the batch alternative, while the schema handles the id/index resolution logic in full and annotations cover safety. It stops short of naming failure conditions, which is the only thing an agent might still need.

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 coverage is 100%, so the baseline is 3, and the description's only real parameter detail (include_linked defaulting true) essentially mirrors the schema's own wording. It does implicitly clarify what the 'name' parameter targets — the clip instance, not the underlying item or media — which is marginal added meaning over 'New clip name.'

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?

Description states a specific verb and resource ('Change the name of one clip instance on the timeline') and immediately scopes it against adjacent tools by excluding project items and media files. It also names a sibling alternative (rename_clips) for the batch case, so an agent can distinguish rename_clip from rename_project_item, rename_sequence, and rename_track without opening other schemas.

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

Usage Guidelines4/5

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

"Use rename_clips for a numbered batch" gives an explicit alternative plus the condition that selects it, and "the project item and the media file keep their names" rules out the wrong rename tool. No exclusions are given for the clip_id vs. clip_index positioning choice, but that guidance is fully carried by the schema.

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