Skip to main content
Glama

trim_clip

Adjust a clip's source in and out points in seconds while preserving its timeline start time.

Instructions

Change the source in/out points (seconds of source media). Start time is kept.

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>",
      "clip_id": "<clip_id>"
    },
    "name": "trim_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
clip_idYes
in_pointNo
out_pointNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses that only source in/out points change while the clip start time is preserved, but it says nothing about reversibility, what happens when in_point/out_point are omitted or null, or whether timeline duration changes.

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 compact sentences with the primary action stated first and the preservation rule second; nothing is wasted. The phrase 'Start time is kept' is slightly ambiguous about whether it means timeline position or source start, but the structure is efficient.

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?

This is a mutation tool with zero annotation coverage, no output schema, and 0% schema descriptions on four parameters. Given that, a two-sentence description leaves out too much about parameter behavior and side effects to fully arm an agent.

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. It does clarify that in_point/out_point are measured in seconds of source media, which is meaningful beyond the bare titles, but path and clip_id are unexplained and null/default semantics are left unstated.

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 description gives a specific verb and resource ('Change the source in/out points') and adds a distinguishing constraint ('Start time is kept'), so it is not a tautology of the name. It stops short of naming a sibling (e.g., split_clip) as the alternative, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no reference to alternatives such as split_clip or set_clip_speed. The intent (trimming source range without moving the clip) can be inferred from the description, but the agent is given no routing guidance.

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