Skip to main content
Glama

timeline.trim_item

Trim a timeline item's start, duration, or source in/out points

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": {
      "projectId": "<projectId>",
      "expectedVersion": "<expectedVersion>",
      "itemId": "<itemId>"
    },
    "name": "timeline.trim_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYes
startMsNo
projectIdYes
durationMsNo
sourceInMsNo
sourceOutMsNo
expectedVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool, and it discloses almost nothing. It does not say that expectedVersion is an optimistic-concurrency guard, what happens on a version mismatch, whether trims are rejected when they exceed source media bounds, or whether the operation is reversible.

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?

A single well-formed sentence with the verb and affected fields front-loaded and zero filler. It is efficient, though the brevity is partly the source of the definition's other gaps.

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 seven-parameter mutation tool with no annotations, no output schema, and no schema descriptions, one sentence is not enough. An agent still cannot tell how to supply expectedVersion, what units the ms fields use beyond the name, or what a successful or conflicting call returns.

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?

With schema description coverage at 0%, the description is the only source of meaning, and it does at least map four of the seven parameters to their semantic role (start, duration, source in/out). However, projectId, itemId, and especially expectedVersion are left entirely unexplained, and no units or constraints (e.g., values are milliseconds, duration must be positive) are conveyed.

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 (trim) and resource (timeline item) and enumerates exactly which properties are affected: start, duration, and source in/out points. This separates it reasonably well from siblings like split_item, move_item, and set_speed, though it never names an alternative explicitly.

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 guidance on when to trim versus split, move, or set_speed, and no mention of preconditions such as needing the item's current version. The agent must infer the use case from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.