Skip to main content
Glama

Create a clip

create_clip

Creates a clip of a video between two times (seconds), chosen from get_transcript or find_moments. The edges are moved to whole sentences so the clip never starts or ends mid-word. Returns the clip id; then call plan_clip to have the agent frame and style it, and render_clip to get the video.

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": {
      "video_id": "<video_id>",
      "start": "<start>",
      "end": "<end>",
      "title": "<title>"
    },
    "name": "create_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
titleYesThe clip's name in the person's list. Short and clear, 8 words at most, in the language of the video: the point the clip makes about what the person was looking for ("Calling customers on day 7 halved the churn"), not its first words and not a teaser.
video_idYesVideo id, as returned by list_videos (the dashboard URL id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent write, so the safety profile is covered. The description adds a genuinely non-obvious behavior beyond them: the start/end edges are snapped to whole sentences, so the requested times are approximate, and it discloses the return value (clip id). It does not say whether repeated calls create duplicate clips, which matters given idempotentHint=false.

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?

Three sentences, front-loaded with the core action and scope, then behavior, then the follow-on workflow. Every sentence carries information that is not available in the schema or annotations.

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 a four-parameter create tool with no output schema, the description supplies both the return value and the next steps, and annotations cover the mutation profile. Only edge-case behavior (invalid ranges, exceeding video duration, duplicate creation) is left unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% — title and video_id are documented in-schema, but start and end carry only numeric bounds with no descriptions. The description compensates by establishing the unit (seconds) and, importantly, that both values are adjusted outward to sentence boundaries, which changes how an agent should choose them. It leaves the start>=end and out-of-range cases unaddressed.

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?

States a specific verb and resource ("Creates a clip of a video between two times") and scopes it to timestamps sourced from get_transcript or find_moments, which separates it from the discovery siblings. An agent can tell what this does without opening the schema.

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?

Explicitly names the upstream alternatives that supply the timestamps (get_transcript, find_moments) and the downstream sequence (plan_clip, then render_clip), which is strong when-to-use guidance. It does not distinguish this from make_clips or explain when a single clip is preferable to a batch, so it falls short of full routing coverage.

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.

Resources