Skip to main content
Glama

Enable/disable clip

clip.set_enabled
Idempotent

A disabled clip stays on the timeline but renders as a gap. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.

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": {
      "clip_id": "<clip_id>",
      "enabled": "<enabled>",
      "timeline_id": "<timeline_id>"
    },
    "name": "clip.set_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_idYes
enabledYes
previewNoinline: image in the result; link: URI that renders on read; nonelink
timeline_idYesTimeline handle; every edit returns a new one

Output Schema

NameRequiredDescriptionDefault
parentYesThe version this edit started from
changedYesWhat the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)
clip_idNoThe clip this edit made or acted on (each tool says which)
previewYes
clip_idsNoEvery clip this edit made or acted on, linked ones included (each tool says which)
track_idNo
warningsYes
timeline_idYesThe new version: edit this one next (older ids stay valid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / properties / changed / description
      Added value: +"What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
    • addedOutput schema / properties / clip_id / description
      Added value: +"The clip this edit made or acted on (each tool says which)"
    • addedOutput schema / properties / clip_ids / description
      Added value: +"Every clip this edit made or acted on, linked ones included (each tool says which)"
    • changedOutput schema / properties / parent / description
      Previous value: -"Timeline handle; every edit returns a new one"New value: +"The version this edit started from"
    • changedOutput schema / properties / timeline_id / description
      Previous value: -"Timeline handle; every edit returns a new one"New value: +"The new version: edit this one next (older ids stay valid)"
  2. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description still adds real value by confirming the non-destructive effect (clip remains on the timeline, renders as a gap) and by warning that the call returns a new timeline_id that must be used for subsequent edits — a chaining hazard the annotations do not express. It does not mention permissions or failure modes, keeping it below a 5.

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 with no filler: behavior first, return contract second. Front-loading is slightly off since the action itself is never named, but nothing is redundant or padded.

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

Completeness3/5

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

An output schema exists, so the return summary is largely optional, and the description does cover the key chaining detail about the new timeline_id. However, for a mutation tool with no annotation-level explanation of effect, the missing explicit action statement and the absent contrast with clip.remove leave an agent to guess the intent.

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 50%, but the two undocumented parameters (clip_id, enabled) are self-evident, and preview and timeline_id already carry schema descriptions. The description reinforces which timeline handle to use next ('edit that one next'), which slightly exceeds the schema wording, but it says nothing about preview affecting the response shape. Roughly baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states the action directly — it opens with the consequence of disabling ('stays on the timeline but renders as a gap') rather than 'enables or disables a clip.' The name and title carry the verb+resource, and the description only clarifies what 'disabled' means semantically. An agent can infer the purpose, but it isn't spelled out in the text.

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 use this instead of siblings — notably clip.remove (delete the clip) versus disabling it into a gap, which is the most important distinction here. No prerequisites, no exclusions, no named alternatives; the reader must infer the use case from the behavioral side effect.

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.