Skip to main content
Glama

add_clip

Place media on a timeline track with configurable start, in/out points, and speed; start defaults to track end, and still images require an out point for duration.

Instructions

Place media on a track. start defaults to the end of the track. Times in seconds of source media. Still images need out_point (their length). speed 0.1..16.

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": {
      "path": "<path>",
      "track_id": "<track_id>",
      "media_id": "<media_id>"
    },
    "name": "add_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
speedNo
startNo
in_pointNo
media_idYes
track_idYes
out_pointNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and it does add real behavior: start appends to the end of the track by default, times are in source-media seconds, and speed is bounded to 0.1–16. It says nothing about required permissions, what happens on invalid track_id/media_id, whether the call mutates the project irreversibly, or what is returned.

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?

Four short sentences, front-loaded with the action, then the defaults and constraints; nothing is padded. The telegraphic phrasing ('Times in seconds of source media') is dense but each sentence contributes a distinct fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with zero schema coverage and no annotations, the definition leaves too much open: the roles of path, media_id, and track_id, failure modes, and any project-side effects are unspecified. The constraint notes are useful but not enough to let an agent invoke this confidently on the first try.

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 0%, so the description must compensate for seven bare parameters. It clarifies start (default), out_point (required for stills), in_point/out_point units (source-media seconds), and speed's valid range, but path, media_id, and track_id are left completely unexplained — an agent cannot tell how path relates to media_id.

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?

The opening sentence gives a specific verb and resource: "Place media on a track," which maps unambiguously to adding a clip. It does not name a sibling such as move_clip or duplicate_clip to draw the boundary, but the additive framing ('place ... on a track') is distinct enough for an agent to select it correctly.

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 supplies conditional guidance for a special case ('Still images need out_point') and a numeric constraint ('speed 0.1..16'), which implies when certain parameters matter. It never states when to use this tool instead of add_track, import_media, or move_clip, and gives no prerequisites (e.g., that media must already be imported).

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